Update to latest clang-format
Update to clang-format-10
Change-Id: I1c33ef7115c7a1459164d71f63921019d2dc9a98
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/sensorcommands.hpp b/include/sensorcommands.hpp
index 820c746..c0d7853 100644
--- a/include/sensorcommands.hpp
+++ b/include/sensorcommands.hpp
@@ -17,9 +17,10 @@
#pragma once
#include "sdrutils.hpp"
-#include <cstdint>
#include <ipmid/api.hpp>
+#include <cstdint>
+
#pragma pack(push, 1)
struct SensorThresholdResp
@@ -120,8 +121,8 @@
namespace ipmi
{
extern SensorSubTree sensorTree;
-static ipmi_ret_t getSensorConnection(uint8_t sensnum, std::string &connection,
- std::string &path)
+static ipmi_ret_t getSensorConnection(uint8_t sensnum, std::string& connection,
+ std::string& path)
{
if (sensorTree.empty() && !getSensorSubtree(sensorTree))
{
@@ -134,7 +135,7 @@
}
uint8_t sensorIndex = sensnum;
- for (const auto &sensor : sensorTree)
+ for (const auto& sensor : sensorTree)
{
if (sensorIndex-- == 0)
{