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: I17e98a098b8983f5f20f563f85656cfb0beb0d4b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/include/threshold_alarm_event_monitor.hpp b/include/threshold_alarm_event_monitor.hpp
index 0de281d..bdfd3a9 100644
--- a/include/threshold_alarm_event_monitor.hpp
+++ b/include/threshold_alarm_event_monitor.hpp
@@ -209,8 +209,8 @@
<< "\n";
return;
}
- double thresholdVal =
- std::visit(ipmi::VariantToDoubleVisitor(), thresholdValue);
+ double thresholdVal = std::visit(ipmi::VariantToDoubleVisitor(),
+ thresholdValue);
double scale = 0;
auto findScale = sensorValue.find("Scale");
@@ -254,7 +254,7 @@
static_cast<sdbusplus::bus_t&>(*conn),
"type='signal',member=" + iter->first,
[conn, iter](sdbusplus::message_t& msg) {
- generateEvent(iter->first, conn, msg);
+ generateEvent(iter->first, conn, msg);
});
}
}