forked from espressif/arduino-esp32
const correctness (#89)
make IPAddress.toString() const method, it doesn't modify anything within the class.
This commit is contained in:
@ -81,7 +81,7 @@ public:
|
||||
IPAddress& operator=(uint32_t address);
|
||||
|
||||
virtual size_t printTo(Print& p) const;
|
||||
String toString();
|
||||
String toString() const;
|
||||
|
||||
friend class EthernetClass;
|
||||
friend class UDP;
|
||||
|
Reference in New Issue
Block a user