diff --git a/src/platform/ESP32/ESP32Config.h b/src/platform/ESP32/ESP32Config.h index 9c8af3778646f4..5d009ad0091e00 100644 --- a/src/platform/ESP32/ESP32Config.h +++ b/src/platform/ESP32/ESP32Config.h @@ -114,18 +114,15 @@ struct ESP32Config::Key bool operator==(const Key & other) const; - template::value, int> = 0> - Key(const char * aNamespace, T aName) : - Namespace(aNamespace), Name(aName) + template ::value, int> = 0> + Key(const char * aNamespace, T aName) : Namespace(aNamespace), Name(aName) {} - template - Key(const char * aNamespace, const char (& aName)[N]) : - Namespace(aNamespace), Name(aName) + template + Key(const char * aNamespace, const char (&aName)[N]) : Namespace(aNamespace), Name(aName) { // Note: N includes null-terminator. - static_assert(N <= ESP32Config::kMaxConfigKeyNameLength + 1, - "Key too long"); + static_assert(N <= ESP32Config::kMaxConfigKeyNameLength + 1, "Key too long"); } };