From 9aaa67f7cd9c7ae82a1e62a4871e81c44eecb602 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Mon, 31 Dec 2018 02:24:56 +0900 Subject: [PATCH] Normalization of member function scope --- src/AutoConnect.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AutoConnect.h b/src/AutoConnect.h index c268b37..205af20 100644 --- a/src/AutoConnect.h +++ b/src/AutoConnect.h @@ -177,7 +177,6 @@ class AutoConnect { bool load(const String& aux); bool load(const __FlashStringHelper* aux); bool load(Stream& aux); - bool _load(JsonVariant& aux); #endif // !AUTOCONNECT_USE_JSON typedef std::function DetectExit_ft; @@ -199,6 +198,9 @@ class AutoConnect { void _stopPortal(); bool _classifyHandle(HTTPMethod mothod, String uri); PageElement* _setupPage(String uri); +#ifdef AUTOCONNECT_USE_JSON + bool _load(JsonVariant& aux); +#endif // !AUTOCONNECT_USE_JSON /** Request handlers implemented by Page Builder */ String _induceConnect(PageArgument& args);