Apply LambdaBodyIndentation to dbus-sensors
Per the transform being done in bmcweb, do the same for dbus-sensors.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: If21489607759f3cdf20fad17eede50fb4e228e5e
diff --git a/src/CPUSensor.cpp b/src/CPUSensor.cpp
index b95c76a..06d0a69 100644
--- a/src/CPUSensor.cpp
+++ b/src/CPUSensor.cpp
@@ -156,13 +156,13 @@
std::weak_ptr<CPUSensor> weakRef = weak_from_this();
inputDev.async_wait(boost::asio::posix::descriptor_base::wait_read,
[weakRef](const boost::system::error_code& ec) {
- std::shared_ptr<CPUSensor> self = weakRef.lock();
+ std::shared_ptr<CPUSensor> self = weakRef.lock();
- if (self)
- {
- self->handleResponse(ec);
- }
- });
+ if (self)
+ {
+ self->handleResponse(ec);
+ }
+ });
}
void CPUSensor::updateMinMaxValues(void)