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: I014bacc34b5a3a7a2a6de6a29b81a3b147eb6ed9
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/fru_utils.cpp b/src/fru_utils.cpp
index efae675..ee04ecb 100644
--- a/src/fru_utils.cpp
+++ b/src/fru_utils.cpp
@@ -522,8 +522,9 @@
{
// Strip non null characters from the end
value.erase(std::find_if(value.rbegin(), value.rend(),
- [](char ch) { return ch != 0; })
- .base(),
+ [](char ch) {
+ return ch != 0;
+ }).base(),
value.end());
result[name] = std::move(value);