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: I73acd9daf41b52bcc3f6af9a1c38c5f162ae76b2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/Utils.hpp b/src/Utils.hpp
index 9c8cdcc..f553cd6 100644
--- a/src/Utils.hpp
+++ b/src/Utils.hpp
@@ -235,7 +235,7 @@
{
std::cerr << "Failed to set LED " << name << "\n";
}
- },
+ },
"xyz.openbmc_project.LED.GroupManager",
"/xyz/openbmc_project/led/groups/" + name, properties::interface,
properties::set, "xyz.openbmc_project.Led.Group", "Asserted",
@@ -293,7 +293,7 @@
}
self->respData[path][interface] = std::move(data);
- },
+ },
owner, path, "org.freedesktop.DBus.Properties", "GetAll",
interface);
}
@@ -353,14 +353,14 @@
if (std::find_if(interfaces.begin(), interfaces.end(),
[interface](const std::string& possible) {
return interface.starts_with(possible);
- }) == interfaces.end())
+ }) == interfaces.end())
{
continue;
}
self->getPath(path, interface, owner);
}
}
- },
+ },
mapper::busName, mapper::path, mapper::interface, mapper::subtree,
"/", 0, interfaces);
}