Skip to content

Commit 321b7d7

Browse files
restyled-commitsmwswartwout
authored andcommitted
Restyled by clang-format
1 parent b9feff9 commit 321b7d7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/lib/core/CHIPError.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ class ChipError
166166
#else
167167
constexpr ChipError(SdkPart part, uint8_t code) : mError(MakeInteger(part, code)) CHIP_INITIALIZE_ERROR_SOURCE(nullptr, 0) {}
168168
constexpr ChipError(SdkPart part, uint8_t code, const char * file, unsigned int line) :
169-
mError(MakeInteger(part, code)) CHIP_INITIALIZE_ERROR_SOURCE(file, line){}
169+
mError(MakeInteger(part, code)) CHIP_INITIALIZE_ERROR_SOURCE(file, line)
170+
{}
170171
#endif // __cplusplus >= 202002L
171172

172173
/**
@@ -195,9 +196,7 @@ class ChipError
195196
mError(error) CHIP_INITIALIZE_ERROR_SOURCE(file, line, location)
196197
{}
197198
#else
198-
explicit constexpr ChipError(StorageType error) : mError(error) CHIP_INITIALIZE_ERROR_SOURCE(nullptr, 0)
199-
{
200-
}
199+
explicit constexpr ChipError(StorageType error) : mError(error) CHIP_INITIALIZE_ERROR_SOURCE(nullptr, 0) {}
201200
explicit constexpr ChipError(StorageType error, const char * file, unsigned int line) :
202201
mError(error) CHIP_INITIALIZE_ERROR_SOURCE(file, line)
203202
{}

0 commit comments

Comments
 (0)