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: Icbc50d46e84ee7ef756705e2b19741439a325074
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/dbus/dbushelper.cpp b/dbus/dbushelper.cpp
index 01383cb..54c75ca 100644
--- a/dbus/dbushelper.cpp
+++ b/dbus/dbushelper.cpp
@@ -42,10 +42,10 @@
std::string DbusHelper::getService(const std::string& intf,
const std::string& path)
{
- auto mapper =
- _bus.new_method_call("xyz.openbmc_project.ObjectMapper",
- "/xyz/openbmc_project/object_mapper",
- "xyz.openbmc_project.ObjectMapper", "GetObject");
+ auto mapper = _bus.new_method_call("xyz.openbmc_project.ObjectMapper",
+ "/xyz/openbmc_project/object_mapper",
+ "xyz.openbmc_project.ObjectMapper",
+ "GetObject");
mapper.append(path);
mapper.append(std::vector<std::string>({intf}));
@@ -147,7 +147,6 @@
bool DbusHelper::thresholdsAsserted(const std::string& service,
const std::string& path)
{
-
auto critical = _bus.new_method_call(service.c_str(), path.c_str(),
propertiesintf, "GetAll");
critical.append(criticalThreshInf);