monitor: Clang format updates
Used `format-code.sh` build script to make changes to conform to clang
format.
Tested: Compiled
Change-Id: Ieead1449cfd4b61333a135740dce03789218f92b
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/monitor/conditions.cpp b/monitor/conditions.cpp
index c046f0c..09f5852 100644
--- a/monitor/conditions.cpp
+++ b/monitor/conditions.cpp
@@ -1,7 +1,9 @@
-#include <algorithm>
#include "conditions.hpp"
+
#include "sdbusplus.hpp"
+#include <algorithm>
+
namespace phosphor
{
namespace fan
@@ -13,19 +15,14 @@
Condition propertiesMatch(std::vector<PropertyState>&& propStates)
{
- return [pStates = std::move(propStates)](sdbusplus::bus::bus& bus)
- {
+ return [pStates = std::move(propStates)](sdbusplus::bus::bus& bus) {
return std::all_of(
- pStates.begin(),
- pStates.end(),
- [&bus](const auto& p)
- {
- return util::SDBusPlus::getPropertyVariant<PropertyValue>(
- bus,
- std::get<propObj>(p.first),
- std::get<propIface>(p.first),
- std::get<propName>(p.first)) == p.second;
- });
+ pStates.begin(), pStates.end(), [&bus](const auto& p) {
+ return util::SDBusPlus::getPropertyVariant<PropertyValue>(
+ bus, std::get<propObj>(p.first),
+ std::get<propIface>(p.first),
+ std::get<propName>(p.first)) == p.second;
+ });
};
}