Fix build
Some components needed to be updated to cpp17 to support
std::variant and some components had incorrect dbus
interfaces for what is currently available. Fix it so it
builds.
Also re-clangformat some files
Tested-by: build passed
Change-Id: I4d43dc47a5facfc096dd6ccf64d098d796f11016
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/power-control/src/power_control.cpp b/power-control/src/power_control.cpp
index 9d15a06..3014370 100644
--- a/power-control/src/power_control.cpp
+++ b/power-control/src/power_control.cpp
@@ -15,11 +15,9 @@
*/
#include "power_control.hpp"
-int32_t PowerControl::forcePowerOff()
+bool PowerControl::forcePowerOff()
{
- int ret = 0;
-
- return ret;
+ return true;
}
int32_t PowerControl::setPowerState(int32_t newState)