8000 Merge pull request #226 from andreagilardoni/ipaddr-fix · andreagilardoni/ArduinoCore-API@1cec094 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1cec094

Browse files
authored
Merge pull request arduino#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

Lines changed: 1 addition & 1 deletion
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)
0