From 4d166e997c6e436ad971ef51ff772d1889915ad4 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 16 Feb 2022 12:36:46 +0000 Subject: [PATCH] Restyled by clang-format --- src/platform/ESP32/ESP32Config.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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"); } };