add .clang-format
Change-Id: I6627b5569c2e0f730be7331403218b823a2c622f
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/dbus/dbusactiveread.cpp b/dbus/dbusactiveread.cpp
index e41ba7a..37a1f93 100644
--- a/dbus/dbusactiveread.cpp
+++ b/dbus/dbusactiveread.cpp
@@ -14,14 +14,14 @@
* limitations under the License.
*/
+#include "dbusactiveread.hpp"
+
+#include "dbus/util.hpp"
+
#include <chrono>
#include <cmath>
#include <iostream>
-#include "dbusactiveread.hpp"
-#include "dbus/util.hpp"
-
-
ReadReturn DbusActiveRead::read(void)
{
struct SensorProperties settings;
@@ -35,11 +35,7 @@
* Technically it might not be a value from now, but there's no timestamp
* on Sensor.Value yet.
*/
- struct ReadReturn r = {
- value,
- std::chrono::high_resolution_clock::now()
- };
+ struct ReadReturn r = {value, std::chrono::high_resolution_clock::now()};
return r;
}
-