summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hwmon.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/hwmon.cpp b/hwmon.cpp
index adde6e4..bfb67aa 100644
--- a/hwmon.cpp
+++ b/hwmon.cpp
@@ -5,11 +5,16 @@ namespace hwmon
bool getAttributes(const std::string& type, Attributes& attributes)
{
- // *INDENT-OFF*
+ // clang-format off
auto a =
- std::find_if(typeAttrMap.begin(), typeAttrMap.end(),
- [&](const auto& e) { return type == getHwmonType(e); });
- // *INDENT-ON*
+ std::find_if(
+ typeAttrMap.begin(),
+ typeAttrMap.end(),
+ [&](const auto& e)
+ {
+ return type == getHwmonType(e);
+ });
+ // clang-format on
if (a == typeAttrMap.end())
{
OpenPOWER on IntegriCloud