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/presence/json_parser.cpp b/presence/json_parser.cpp
index d5705ef..ffcb014 100644
--- a/presence/json_parser.cpp
+++ b/presence/json_parser.cpp
@@ -221,9 +221,9 @@
}
}
-std::unique_ptr<RedundancyPolicy>
- JsonConfig::getPolicy(const json& rpolicy, const fanPolicy& fpolicy,
- std::unique_ptr<EEPROMDevice> eepromDevice)
+std::unique_ptr<RedundancyPolicy> JsonConfig::getPolicy(
+ const json& rpolicy, const fanPolicy& fpolicy,
+ std::unique_ptr<EEPROMDevice> eepromDevice)
{
if (!rpolicy.contains("type"))
{
@@ -349,8 +349,8 @@
namespace rpolicy
{
// Get an `Anyof` redundancy policy for the fan
-std::unique_ptr<RedundancyPolicy>
- getAnyof(const fanPolicy& fan, std::unique_ptr<EEPROMDevice> eepromDevice)
+std::unique_ptr<RedundancyPolicy> getAnyof(
+ const fanPolicy& fan, std::unique_ptr<EEPROMDevice> eepromDevice)
{
std::vector<std::reference_wrapper<PresenceSensor>> pSensors;
for (auto& fanSensor : std::get<fanPolicySensorListPos>(fan))