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: I1367c2eabf95f27b5acb08b9e6fd6eedcb77377f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/allowlist-filter.cpp b/src/allowlist-filter.cpp
index 844bf56..64f9cf5 100644
--- a/src/allowlist-filter.cpp
+++ b/src/allowlist-filter.cpp
@@ -276,7 +276,7 @@
coreBIOSDone = std::get<bool>(v);
log<level::INFO>("Read CoreBiosDone",
entry("VALUE=%d", static_cast<int>(coreBIOSDone)));
- },
+ },
coreBiosDoneService, coreBiosDonePath,
"org.freedesktop.DBus.Properties", "Get", hostMiscIntf, "CoreBiosDone");
}
@@ -293,7 +293,7 @@
std::find_if(propertyList.begin(), propertyList.end(),
[](const std::pair<std::string, ipmi::Value>& prop) {
return prop.first == "CoreBiosDone";
- });
+ });
if (it != propertyList.end())
{
@@ -397,7 +397,7 @@
std::get<1>(value),
std::get<2>(first))
: first < value;
- });
+ });
// no special handling for non-system-interface channels
if (!(request->ctx->channel == ipmi::channelSystemIface ||