clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Ic2bc1d98d8ad469a3477f9059ec890fc8339907d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/trigger_factory.hpp b/src/trigger_factory.hpp
index a2ad568..586c9f7 100644
--- a/src/trigger_factory.hpp
+++ b/src/trigger_factory.hpp
@@ -16,21 +16,21 @@
std::shared_ptr<sdbusplus::asio::object_server> objServer,
SensorCache& sensorCache);
- std::unique_ptr<interfaces::Trigger>
- make(const std::string& id, const std::string& name,
- const std::vector<std::string>& triggerActions,
- const std::vector<std::string>& reportIds,
- interfaces::TriggerManager& triggerManager,
- interfaces::JsonStorage& triggerStorage,
- const LabeledTriggerThresholdParams& labeledThresholdParams,
- const std::vector<LabeledSensorInfo>& labeledSensorsinfo)
- const override;
+ std::unique_ptr<interfaces::Trigger> make(
+ const std::string& id, const std::string& name,
+ const std::vector<std::string>& triggerActions,
+ const std::vector<std::string>& reportIds,
+ interfaces::TriggerManager& triggerManager,
+ interfaces::JsonStorage& triggerStorage,
+ const LabeledTriggerThresholdParams& labeledThresholdParams,
+ const std::vector<LabeledSensorInfo>& labeledSensorsinfo)
+ const override;
- std::vector<LabeledSensorInfo>
- getLabeledSensorsInfo(boost::asio::yield_context& yield,
- const SensorsInfo& sensorsInfo) const override;
- std::vector<LabeledSensorInfo>
- getLabeledSensorsInfo(const SensorsInfo& sensorsInfo) const override;
+ std::vector<LabeledSensorInfo> getLabeledSensorsInfo(
+ boost::asio::yield_context& yield,
+ const SensorsInfo& sensorsInfo) const override;
+ std::vector<LabeledSensorInfo> getLabeledSensorsInfo(
+ const SensorsInfo& sensorsInfo) const override;
void updateThresholds(
std::vector<std::shared_ptr<interfaces::Threshold>>& currentThresholds,
@@ -52,9 +52,9 @@
Sensors getSensors(
const std::vector<LabeledSensorInfo>& labeledSensorsInfo) const;
- static std::vector<LabeledSensorInfo>
- parseSensorTree(const std::vector<utils::SensorTree>& tree,
- const SensorsInfo& sensorsInfo);
+ static std::vector<LabeledSensorInfo> parseSensorTree(
+ const std::vector<utils::SensorTree>& tree,
+ const SensorsInfo& sensorsInfo);
void updateDiscreteThresholds(
std::vector<std::shared_ptr<interfaces::Threshold>>& currentThresholds,