From 0ef90b49fa2d66cba8a0980f443f2bc3d0e28fde Mon Sep 17 00:00:00 2001 From: Andrea Gilardoni Date: Mon, 20 Nov 2023 14:58:04 +0100 Subject: [PATCH] making type function callable when IPAddress is defined const --- api/IPAddress.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/IPAddress.h b/api/IPAddress.h index 28dde3be..31a2d06d 100644 --- a/api/IPAddress.h +++ b/api/IPAddress.h @@ -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;