From 2d57fc5fee946fd8b4bbe6fa4e90bf1f47df86d2 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Tue, 9 Jul 2024 20:07:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=84=20Formats=20IPUtils?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esp32/lib/ESP32-sveltekit/IPUtils.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/esp32/lib/ESP32-sveltekit/IPUtils.h b/esp32/lib/ESP32-sveltekit/IPUtils.h index c2e548b..27bf364 100644 --- a/esp32/lib/ESP32-sveltekit/IPUtils.h +++ b/esp32/lib/ESP32-sveltekit/IPUtils.h @@ -19,17 +19,10 @@ const IPAddress IP_NOT_SET = IPAddress(INADDR_NONE); -class IPUtils -{ -public: - static bool isSet(const IPAddress &ip) - { - return ip != IP_NOT_SET; - } - static bool isNotSet(const IPAddress &ip) - { - return ip == IP_NOT_SET; - } +class IPUtils { + public: + static bool isSet(const IPAddress &ip) { return ip != IP_NOT_SET; } + static bool isNotSet(const IPAddress &ip) { return ip == IP_NOT_SET; } }; #endif // end IPUtils_h