We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf3e948 commit eb0c2c9Copy full SHA for eb0c2c9
libraries/Ethernet/src/EthernetClient.h
@@ -24,6 +24,8 @@ class EthernetClient : public Client {
24
virtual void stop();
25
virtual uint8_t connected();
26
virtual operator bool();
27
+ virtual bool operator==(const bool value) { return bool() == value; }
28
+ virtual bool operator!=(const bool value) { return bool() != value; }
29
virtual bool operator==(const EthernetClient&);
30
virtual bool operator!=(const EthernetClient& rhs) { return !this->operator==(rhs); };
31
0 commit comments