Skip to content

Commit 1cec094

Browse files
authored
Merge pull request #226 from andreagilardoni/ipaddr-fix
Making type() function callable when IPAddress is defined const
2 parents fc9a636 + 0ef90b4 commit 1cec094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/IPAddress.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class IPAddress : public Printable {
9898
virtual size_t printTo(Print& p) const;
9999
String toString() const;
100100

101-
IPType type() { return _type; }
101+
IPType type() const { return _type; }
102102

103103
friend class UDP;
104104
friend class Client;

0 commit comments

Comments
 (0)