summaryrefslogtreecommitdiffstats
path: root/write.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-11-01 16:29:18 -0700
committerPatrick Venture <venture@google.com>2018-11-08 02:00:20 +0000
commitc83c4dc327447a6aee8ddebcd98963ac411169fb (patch)
tree20cadc16abe7c69e5046bff5460bb5760749b608 /write.hpp
parent6c830e9dfa89a6fce124762d1f162e7efc5291dd (diff)
downloadopenpower-vpd-parser-c83c4dc327447a6aee8ddebcd98963ac411169fb.tar.gz
openpower-vpd-parser-c83c4dc327447a6aee8ddebcd98963ac411169fb.zip
Add .clang-format to repo for automated style
Add .clang-format to repo for automated style. A consistent style across Openbmc makes the code easier to read and edit. Change-Id: I7c09792d2482f0be3e01776804347700f3e3e651 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'write.hpp')
-rw-r--r--write.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/write.hpp b/write.hpp
index 2e7fe33..0544bdf 100644
--- a/write.hpp
+++ b/write.hpp
@@ -1,7 +1,7 @@
#pragma once
-#include <string>
#include <store.hpp>
+#include <string>
namespace openpower
{
@@ -16,10 +16,9 @@ namespace inventory
* @param [in] vpdStore - Store object containing parsed VPD
* @param [in] path - FRU object path
*/
-void write(const std::string& type,
- const Store& vpdStore,
+void write(const std::string& type, const Store& vpdStore,
const std::string& path);
-} // inventory
+} // namespace inventory
} // namespace vpd
} // namespace openpower
OpenPOWER on IntegriCloud