mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-15 00:02:49 +03:00
const-correctness IPAddress::toString()
it doesn't modify any member variables, should be safe to be const.
This commit is contained in:
@ -77,7 +77,7 @@ class IPAddress: public Printable {
|
||||
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