From 321b7d7a7acd5012aa904c52cd1cf74cf000df2e Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 17 Apr 2024 22:01:39 +0000 Subject: [PATCH] Restyled by clang-format --- src/lib/core/CHIPError.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib/core/CHIPError.h b/src/lib/core/CHIPError.h index 65a23a0765f77b..7e1b9c72ed8f2e 100644 --- a/src/lib/core/CHIPError.h +++ b/src/lib/core/CHIPError.h @@ -166,7 +166,8 @@ class ChipError #else constexpr ChipError(SdkPart part, uint8_t code) : mError(MakeInteger(part, code)) CHIP_INITIALIZE_ERROR_SOURCE(nullptr, 0) {} constexpr ChipError(SdkPart part, uint8_t code, const char * file, unsigned int line) : - mError(MakeInteger(part, code)) CHIP_INITIALIZE_ERROR_SOURCE(file, line){} + mError(MakeInteger(part, code)) CHIP_INITIALIZE_ERROR_SOURCE(file, line) + {} #endif // __cplusplus >= 202002L /** @@ -195,9 +196,7 @@ class ChipError mError(error) CHIP_INITIALIZE_ERROR_SOURCE(file, line, location) {} #else - explicit constexpr ChipError(StorageType error) : mError(error) CHIP_INITIALIZE_ERROR_SOURCE(nullptr, 0) - { - } + explicit constexpr ChipError(StorageType error) : mError(error) CHIP_INITIALIZE_ERROR_SOURCE(nullptr, 0) {} explicit constexpr ChipError(StorageType error, const char * file, unsigned int line) : mError(error) CHIP_INITIALIZE_ERROR_SOURCE(file, line) {}