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/activation.cpp b/src/activation.cpp
index 9112c3f..1ecfd47 100644
--- a/src/activation.cpp
+++ b/src/activation.cpp
@@ -4,11 +4,12 @@
#include "utils.hpp"
-#include <cassert>
-#include <filesystem>
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/log.hpp>
+#include <cassert>
+#include <filesystem>
+
namespace phosphor
{
namespace software
@@ -274,8 +275,8 @@
bool Activation::isCompatible(const std::string& psuInventoryPath)
{
- auto service =
- utils::getService(bus, psuInventoryPath.c_str(), ASSET_IFACE);
+ auto service = utils::getService(bus, psuInventoryPath.c_str(),
+ ASSET_IFACE);
auto psuManufacturer = utils::getProperty<std::string>(
bus, service.c_str(), psuInventoryPath.c_str(), ASSET_IFACE,
MANUFACTURER);