Skip to content

Commit 0ef90b4

Browse files
making type function callable when IPAddress is defined const
1 parent fc9a636 commit 0ef90b4

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)