Skip to content

Commit

Permalink
Merge pull request #226 from andreagilardoni/ipaddr-fix
Browse files Browse the repository at this point in the history
Making type() function callable when IPAddress is defined const
  • Loading branch information
facchinm authored Nov 20, 2023
2 parents fc9a636 + 0ef90b4 commit 1cec094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/IPAddress.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class IPAddress : public Printable {
virtual size_t printTo(Print& p) const;
String toString() const;

IPType type() { return _type; }
IPType type() const { return _type; }

friend class UDP;
friend class Client;
Expand Down

0 comments on commit 1cec094

Please sign in to comment.