presence: Clang format updates
Used `format-code.sh` build script to make changes to conform to clang
format.
Tested: Compiled
Change-Id: I2fc795938e85a752ee56b54212d389c2ff296828
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/presence/tach_detect.cpp b/presence/tach_detect.cpp
index e374c12..1c1dcf9 100644
--- a/presence/tach_detect.cpp
+++ b/presence/tach_detect.cpp
@@ -20,9 +20,10 @@
#include "generated.hpp"
#endif
#include <sdeventplus/event.hpp>
-#include <functional>
-#include <stdplus/signal.hpp>
#include <sdeventplus/source/signal.hpp>
+#include <stdplus/signal.hpp>
+
+#include <functional>
int main(void)
{
@@ -35,17 +36,18 @@
#ifdef PRESENCE_USE_JSON
// Use json file for presence config
presence::JsonConfig config(bus);
- for (auto& p: presence::JsonConfig::get())
+ for (auto& p : presence::JsonConfig::get())
{
p->monitor();
}
stdplus::signal::block(SIGHUP);
- sdeventplus::source::Signal signal(event, SIGHUP,
- std::bind(&presence::JsonConfig::sighupHandler,
- &config, std::placeholders::_1, std::placeholders::_2));
+ sdeventplus::source::Signal signal(
+ event, SIGHUP,
+ std::bind(&presence::JsonConfig::sighupHandler, &config,
+ std::placeholders::_1, std::placeholders::_2));
#else
- for (auto& p: presence::ConfigPolicy::get())
+ for (auto& p : presence::ConfigPolicy::get())
{
p->monitor();
}