From ca9cf65d6639c36e34fd78108ec44fa18a9ddf4b Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Fri, 18 Feb 2022 21:46:36 +0100 Subject: [PATCH] Removed unused code --- main/newsettings.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main/newsettings.h b/main/newsettings.h index 9c73718..413f410 100644 --- a/main/newsettings.h +++ b/main/newsettings.h @@ -34,11 +34,6 @@ std::string defaultHostname(); constexpr const auto INPUT_MAPPING_NONE = std::numeric_limits::max(); -template -std::optional optional_ptr(T* ptr) { - return ptr ? std::optional(ptr) : std::optional(); -} - class WiFiConfig { public: