summaryrefslogtreecommitdiff
path: root/include/dbus_utility.hpp
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2023-10-20 19:20:21 +0300
committerEd Tanous <ed@tanous.net>2023-10-24 21:17:16 +0300
commit5a39f77a17fa28911c87caea1e2903c059e7ec41 (patch)
treea2a2ff266238e7e9322e36eb2d9c92cf18829406 /include/dbus_utility.hpp
parente9cc1bc93c4ad9662c93e2a98d4c787e2dbf9f07 (diff)
downloadbmcweb-5a39f77a17fa28911c87caea1e2903c059e7ec41.tar.xz
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: I2f9540cf0d545a2da4d6289fc87b754f684bc9a7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'include/dbus_utility.hpp')
-rw-r--r--include/dbus_utility.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/dbus_utility.hpp b/include/dbus_utility.hpp
index a8eefd5c1f..933d733f96 100644
--- a/include/dbus_utility.hpp
+++ b/include/dbus_utility.hpp
@@ -151,7 +151,7 @@ inline void checkDbusPathExists(const std::string& path, Callback&& callback)
const boost::system::error_code& ec,
const dbus::utility::MapperGetObject& objectNames) {
callback(!ec && !objectNames.empty());
- },
+ },
"xyz.openbmc_project.ObjectMapper",
"/xyz/openbmc_project/object_mapper",
"xyz.openbmc_project.ObjectMapper", "GetObject", path,
@@ -185,7 +185,7 @@ inline void getSubTreePaths(
const boost::system::error_code& ec,
const MapperGetSubTreePathsResponse& subtreePaths) {
callback(ec, subtreePaths);
- },
+ },
"xyz.openbmc_project.ObjectMapper",
"/xyz/openbmc_project/object_mapper",
"xyz.openbmc_project.ObjectMapper", "GetSubTreePaths", path, depth,
@@ -221,7 +221,7 @@ inline void getAssociatedSubTreePaths(
const boost::system::error_code& ec,
const MapperGetSubTreePathsResponse& subtreePaths) {
callback(ec, subtreePaths);
- },
+ },
"xyz.openbmc_project.ObjectMapper",
"/xyz/openbmc_project/object_mapper",
"xyz.openbmc_project.ObjectMapper", "GetAssociatedSubTreePaths",
@@ -238,7 +238,7 @@ inline void
[callback{std::move(callback)}](const boost::system::error_code& ec,
const MapperGetObject& object) {
callback(ec, object);
- },
+ },
"xyz.openbmc_project.ObjectMapper",
"/xyz/openbmc_project/object_mapper",
"xyz.openbmc_project.ObjectMapper", "GetObject", path, interfaces);
@@ -264,7 +264,7 @@ inline void
[callback{std::move(callback)}](const boost::system::error_code& ec,
const ManagedObjectType& objects) {
callback(ec, objects);
- },
+ },
service, path, "org.freedesktop.DBus.ObjectManager",
"GetManagedObjects");
}