add .clang-format
Change-Id: I6627b5569c2e0f730be7331403218b823a2c622f
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/sysfs/sysfsread.hpp b/sysfs/sysfsread.hpp
index 0dbc71b..4cd2a78 100644
--- a/sysfs/sysfsread.hpp
+++ b/sysfs/sysfsread.hpp
@@ -1,10 +1,9 @@
#pragma once
-#include <string>
-
#include "interfaces.hpp"
#include "sysfs/util.hpp"
+#include <string>
/*
* A ReadInterface that is expecting a path that's sysfs, but really could be
@@ -12,14 +11,13 @@
*/
class SysFsRead : public ReadInterface
{
- public:
- SysFsRead(const std::string& path)
- : ReadInterface(),
- _path(FixupPath(path))
- { }
+ public:
+ SysFsRead(const std::string& path) : ReadInterface(), _path(FixupPath(path))
+ {
+ }
- ReadReturn read(void) override;
+ ReadReturn read(void) override;
- private:
- const std::string _path;
+ private:
+ const std::string _path;
};