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: If66f68c96df4baf8dc07abf8729a3cb7657e932d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/phosphor-power-supply/util.hpp b/phosphor-power-supply/util.hpp
index b09731a..b2b27f5 100644
--- a/phosphor-power-supply/util.hpp
+++ b/phosphor-power-supply/util.hpp
@@ -72,9 +72,9 @@
INVENTORY_OBJ_PATH, INVENTORY_MGR_IFACE, bus);
// Update inventory
- auto invMsg =
- bus.new_method_call(invService.c_str(), INVENTORY_OBJ_PATH,
- INVENTORY_MGR_IFACE, "Notify");
+ auto invMsg = bus.new_method_call(invService.c_str(),
+ INVENTORY_OBJ_PATH,
+ INVENTORY_MGR_IFACE, "Notify");
invMsg.append(std::move(invObj));
auto invMgrResponseMsg = bus.call(invMsg);
}
@@ -103,13 +103,12 @@
try
{
-
auto invService = phosphor::power::util::getService(
INVENTORY_OBJ_PATH, INVENTORY_MGR_IFACE, bus);
- auto invMsg =
- bus.new_method_call(invService.c_str(), INVENTORY_OBJ_PATH,
- INVENTORY_MGR_IFACE, "Notify");
+ auto invMsg = bus.new_method_call(invService.c_str(),
+ INVENTORY_OBJ_PATH,
+ INVENTORY_MGR_IFACE, "Notify");
invMsg.append(std::move(invObj));
auto invMgrResponseMsg = bus.call(invMsg);
}