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_event_monitor.hpp b/include/threshold_event_monitor.hpp
index 6943d28..61e4690 100644
--- a/include/threshold_event_monitor.hpp
+++ b/include/threshold_event_monitor.hpp
@@ -179,15 +179,15 @@
<< msg.get_path() << "\n";
return;
}
- double thresholdVal =
- std::visit(ipmi::VariantToDoubleVisitor(), thresholdValue);
+ double thresholdVal = std::visit(ipmi::VariantToDoubleVisitor(),
+ thresholdValue);
double scale = 0;
auto findScale = sensorValue.find("Scale");
if (findScale != sensorValue.end())
{
- scale =
- std::visit(ipmi::VariantToDoubleVisitor(), findScale->second);
+ scale = std::visit(ipmi::VariantToDoubleVisitor(),
+ findScale->second);
thresholdVal *= std::pow(10, scale);
}
try
@@ -202,8 +202,8 @@
std::string threshold;
std::string direction;
- std::string redfishMessageID =
- "OpenBMC." + openBMCMessageRegistryVersion;
+ std::string redfishMessageID = "OpenBMC." +
+ openBMCMessageRegistryVersion;
enum EventType
{
eventNone,