mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
Added virtual bool operator==(const bool value) and virtual bool operator!=(const bool value).
Fixes #2611 Bug introduced with #1700
This commit is contained in:
parent
cf3e9480a5
commit
eb0c2c9baa
@ -24,6 +24,8 @@ public:
|
||||
virtual void stop();
|
||||
virtual uint8_t connected();
|
||||
virtual operator bool();
|
||||
virtual bool operator==(const bool value) { return bool() == value; }
|
||||
virtual bool operator!=(const bool value) { return bool() != value; }
|
||||
virtual bool operator==(const EthernetClient&);
|
||||
virtual bool operator!=(const EthernetClient& rhs) { return !this->operator==(rhs); };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user