add .clang-format
Change-Id: I94ce26d595367e08d6fb3734535bcd855f1b1473
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/thresholds.hpp b/thresholds.hpp
index 684e712..c483665 100644
--- a/thresholds.hpp
+++ b/thresholds.hpp
@@ -59,8 +59,7 @@
template <typename T>
void checkThresholds(std::experimental::any& iface, int64_t value)
{
- auto realIface = std::experimental::any_cast<std::shared_ptr<T>>
- (iface);
+ auto realIface = std::experimental::any_cast<std::shared_ptr<T>>(iface);
auto lo = (*realIface.*Thresholds<T>::getLo)();
auto hi = (*realIface.*Thresholds<T>::getHi)();
(*realIface.*Thresholds<T>::alarmLo)(value <= lo);
@@ -80,10 +79,8 @@
* @param[in] info - The sdbusplus server connection and interfaces.
*/
template <typename T>
-auto addThreshold(const std::string& sensorType,
- const std::string& sensorID,
- int64_t value,
- ObjectInfo& info)
+auto addThreshold(const std::string& sensorType, const std::string& sensorID,
+ int64_t value, ObjectInfo& info)
{
static constexpr bool deferSignals = true;