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/sensorhandler.hpp b/sensorhandler.hpp
index 357ade4..75212d8 100644
--- a/sensorhandler.hpp
+++ b/sensorhandler.hpp
@@ -2,10 +2,11 @@
#include <stdint.h>
-#include <exception>
#include <ipmid/api.hpp>
#include <ipmid/types.hpp>
+#include <exception>
+
// IPMI commands for net functions.
enum ipmi_netfn_sen_cmds
{
@@ -69,8 +70,8 @@
uint8_t data[3];
};
-static constexpr char const* ipmiSELPath = "/xyz/openbmc_project/Logging/IPMI";
-static constexpr char const* ipmiSELAddInterface =
+static constexpr const char* ipmiSELPath = "/xyz/openbmc_project/Logging/IPMI";
+static constexpr const char* ipmiSELAddInterface =
"xyz.openbmc_project.Logging.IPMI";
static const std::string ipmiSELAddMessage = "SEL Entry";