update clang-format
use openbmc standard clang-format
Signed-off-by: Zhikui Ren <zhikui.ren@intel.com>
Change-Id: Ia4bcacb680b6652f0e0a762981639a5ecd924b3e
diff --git a/include/sensorutils.hpp b/include/sensorutils.hpp
index ce5d775..16eb8ce 100644
--- a/include/sensorutils.hpp
+++ b/include/sensorutils.hpp
@@ -15,9 +15,10 @@
*/
#pragma once
+#include <phosphor-logging/log.hpp>
+
#include <cmath>
#include <iostream>
-#include <phosphor-logging/log.hpp>
namespace ipmi
{
@@ -27,7 +28,8 @@
*/
struct VariantToDoubleVisitor
{
- template <typename T> double operator()(const T& t) const
+ template <typename T>
+ double operator()(const T& t) const
{
static_assert(std::is_arithmetic_v<T>,
"Cannot translate type to double");