diff options
author | Patrick Venture <venture@google.com> | 2018-09-04 09:44:49 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-09-04 09:46:46 -0700 |
commit | c9c818ed854f23a87dd77c2209b6a27805825adb (patch) | |
tree | 436b52857dc739da6e2653d11e2e8a953c7cda1e | |
parent | 043d32306e00484afc446a44789b61869ea14f84 (diff) | |
download | phosphor-hwmon-c9c818ed854f23a87dd77c2209b6a27805825adb.tar.gz phosphor-hwmon-c9c818ed854f23a87dd77c2209b6a27805825adb.zip |
hwmon: revert alignment change and fix-up
Using clang-format off/on instead of INDENT-OFF/ON.
Change-Id: If4ecec970cfc456f8461c42e03159df29b4e8542
Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r-- | hwmon.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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()) { |