Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and mwswartwout committed Apr 17, 2024
1 parent b9feff9 commit 321b7d7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/lib/core/CHIPError.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
Expand Down Expand Up @@ -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)
{}
Expand Down

0 comments on commit 321b7d7

Please sign in to comment.