clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Id513ba4699f994d5bc2a8480c4a0b2659e9480ce
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/pid/builder.cpp b/pid/builder.cpp
index 8a6bd39..1164355 100644
--- a/pid/builder.cpp
+++ b/pid/builder.cpp
@@ -50,10 +50,10 @@
return std::string(objectPath) + std::to_string(zone) + "/" + pidname;
}
-std::unordered_map<int64_t, std::shared_ptr<ZoneInterface>>
- buildZones(const std::map<int64_t, conf::PIDConf>& zonePids,
- std::map<int64_t, conf::ZoneConfig>& zoneConfigs,
- SensorManager& mgr, sdbusplus::bus_t& modeControlBus)
+std::unordered_map<int64_t, std::shared_ptr<ZoneInterface>> buildZones(
+ const std::map<int64_t, conf::PIDConf>& zonePids,
+ std::map<int64_t, conf::ZoneConfig>& zoneConfigs, SensorManager& mgr,
+ sdbusplus::bus_t& modeControlBus)
{
std::unordered_map<int64_t, std::shared_ptr<ZoneInterface>> zones;
diff --git a/pid/builder.hpp b/pid/builder.hpp
index dbfc229..acfc6dd 100644
--- a/pid/builder.hpp
+++ b/pid/builder.hpp
@@ -12,9 +12,9 @@
namespace pid_control
{
-std::unordered_map<int64_t, std::shared_ptr<ZoneInterface>>
- buildZones(const std::map<int64_t, conf::PIDConf>& zonePids,
- std::map<int64_t, conf::ZoneConfig>& zoneConfigs,
- SensorManager& mgr, sdbusplus::bus_t& modeControlBus);
+std::unordered_map<int64_t, std::shared_ptr<ZoneInterface>> buildZones(
+ const std::map<int64_t, conf::PIDConf>& zonePids,
+ std::map<int64_t, conf::ZoneConfig>& zoneConfigs, SensorManager& mgr,
+ sdbusplus::bus_t& modeControlBus);
}
diff --git a/pid/stepwisecontroller.hpp b/pid/stepwisecontroller.hpp
index 5a8dc3b..f1f7fe9 100644
--- a/pid/stepwisecontroller.hpp
+++ b/pid/stepwisecontroller.hpp
@@ -16,10 +16,10 @@
class StepwiseController : public Controller
{
public:
- static std::unique_ptr<Controller>
- createStepwiseController(ZoneInterface* owner, const std::string& id,
- const std::vector<std::string>& inputs,
- const ec::StepwiseInfo& initial);
+ static std::unique_ptr<Controller> createStepwiseController(
+ ZoneInterface* owner, const std::string& id,
+ const std::vector<std::string>& inputs,
+ const ec::StepwiseInfo& initial);
StepwiseController(const std::string& id,
const std::vector<std::string>& inputs,