clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: If81a5a0bc8458a6feb94ba5c52adbe7294d43475
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/bmc/buildjson.hpp b/bmc/buildjson.hpp
index 1ef00ef..ae1c6bc 100644
--- a/bmc/buildjson.hpp
+++ b/bmc/buildjson.hpp
@@ -16,14 +16,14 @@
/**
* build a systemd file triggerable action from json data
*/
-std::unique_ptr<TriggerableActionInterface>
- buildFileSystemd(const nlohmann::json& data);
+std::unique_ptr<TriggerableActionInterface> buildFileSystemd(
+ const nlohmann::json& data);
/**
* build a systemd triggerable action from json data
*/
-std::unique_ptr<TriggerableActionInterface>
- buildSystemd(const nlohmann::json& data);
+std::unique_ptr<TriggerableActionInterface> buildSystemd(
+ const nlohmann::json& data);
constexpr std::array defaultConfigPaths = {
"/usr/share/phosphor-ipmi-flash",
@@ -108,7 +108,7 @@
* @param[in] data - json data from a json file.
* @return list of HandlerConfig objects.
*/
- virtual std::vector<HandlerConfig<T>>
- buildHandlerFromJson(const nlohmann::json& data) = 0;
+ virtual std::vector<HandlerConfig<T>> buildHandlerFromJson(
+ const nlohmann::json& data) = 0;
};
} // namespace ipmi_flash