clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: If152304b21dd2daaa2f79255a4f98218615efb05
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/control/json/actions/action.hpp b/control/json/actions/action.hpp
index 93cd9e2..6cc5bac 100644
--- a/control/json/actions/action.hpp
+++ b/control/json/actions/action.hpp
@@ -82,9 +82,9 @@
* sets the zones the action should run against.
*/
template <typename T>
-std::unique_ptr<T>
- createAction(const json& jsonObj, const std::vector<Group>& groups,
- std::vector<std::reference_wrapper<Zone>>& zones)
+std::unique_ptr<T> createAction(
+ const json& jsonObj, const std::vector<Group>& groups,
+ std::vector<std::reference_wrapper<Zone>>& zones)
{
// Create the action and set its list of zones
auto action = std::make_unique<T>(jsonObj, groups);
@@ -319,10 +319,10 @@
*
* @return Pointer to the action object.
*/
- static std::unique_ptr<ActionBase>
- getAction(const std::string& name, const json& jsonObj,
- const std::vector<Group>& groups,
- std::vector<std::reference_wrapper<Zone>>&& zones)
+ static std::unique_ptr<ActionBase> getAction(
+ const std::string& name, const json& jsonObj,
+ const std::vector<Group>& groups,
+ std::vector<std::reference_wrapper<Zone>>&& zones)
{
auto it = actions.find(name);
if (it != actions.end())