diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2023-10-20 19:20:21 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-10-24 21:17:16 +0300 |
commit | 5a39f77a17fa28911c87caea1e2903c059e7ec41 (patch) | |
tree | a2a2ff266238e7e9322e36eb2d9c92cf18829406 /redfish-core/src | |
parent | e9cc1bc93c4ad9662c93e2a98d4c787e2dbf9f07 (diff) | |
download | bmcweb-5a39f77a17fa28911c87caea1e2903c059e7ec41.tar.xz |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I2f9540cf0d545a2da4d6289fc87b754f684bc9a7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'redfish-core/src')
-rw-r--r-- | redfish-core/src/registries.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/src/registries.cpp b/redfish-core/src/registries.cpp index e465b1584c..c727d1c771 100644 --- a/redfish-core/src/registries.cpp +++ b/redfish-core/src/registries.cpp @@ -16,8 +16,8 @@ const Message* getMessageFromRegistry(const std::string& messageKey, { std::span<const MessageEntry>::iterator messageIt = std::ranges::find_if( registry, [&messageKey](const MessageEntry& messageEntry) { - return std::strcmp(messageEntry.first, messageKey.c_str()) == 0; - }); + return std::strcmp(messageEntry.first, messageKey.c_str()) == 0; + }); if (messageIt != registry.end()) { return &messageIt->second; |