clang-format: copy latest and re-format
clang-format-16 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: Idb72665dbadfa8afd569a2e0e254d84f0a2108d3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/item_updater.cpp b/src/item_updater.cpp
index 1b38e13..6f774cb 100644
--- a/src/item_updater.cpp
+++ b/src/item_updater.cpp
@@ -4,12 +4,13 @@
#include "utils.hpp"
-#include <cassert>
-#include <filesystem>
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/log.hpp>
#include <xyz/openbmc_project/Common/error.hpp>
+#include <cassert>
+#include <filesystem>
+
namespace
{
constexpr auto MANIFEST_VERSION = "version";
@@ -109,8 +110,8 @@
activationState, associations, filePath);
activations.emplace(versionId, std::move(activation));
- auto versionPtr =
- createVersionObject(path, versionId, version, purpose);
+ auto versionPtr = createVersionObject(path, versionId, version,
+ purpose);
versions.emplace(versionId, std::move(versionPtr));
}
return;
@@ -462,8 +463,8 @@
objPath, versionId, extVersion, activationState, {}, path);
activations.emplace(versionId, std::move(activation));
- auto versionPtr =
- createVersionObject(objPath, versionId, version, purpose);
+ auto versionPtr = createVersionObject(objPath, versionId,
+ version, purpose);
versions.emplace(versionId, std::move(versionPtr));
}
else