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: I44441096113929ce96eb1439e2932e6ff3c87f27
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/sensordatahandler.cpp b/sensordatahandler.cpp
index a645336..e29cfac 100644
--- a/sensordatahandler.cpp
+++ b/sensordatahandler.cpp
@@ -2,14 +2,15 @@
#include "sensorhandler.hpp"
-#include <bitset>
-#include <filesystem>
#include <ipmid/types.hpp>
#include <ipmid/utils.hpp>
-#include <optional>
#include <sdbusplus/message/types.hpp>
#include <xyz/openbmc_project/Common/error.hpp>
+#include <bitset>
+#include <filesystem>
+#include <optional>
+
namespace ipmi
{
namespace sensor
@@ -259,9 +260,9 @@
ipmi_ret_t eventdata(const SetSensorReadingReq&, const Info& sensorInfo,
uint8_t data)
{
- auto msg =
- makeDbusMsg("org.freedesktop.DBus.Properties", sensorInfo.sensorPath,
- "Set", sensorInfo.sensorInterface);
+ auto msg = makeDbusMsg("org.freedesktop.DBus.Properties",
+ sensorInfo.sensorPath, "Set",
+ sensorInfo.sensorInterface);
const auto& interface = sensorInfo.propertyInterfaces.begin();
msg.append(interface->first);