Update clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I58738190d06bf216a13048d768aa4054d820d2e8
diff --git a/src/callback.hpp b/src/callback.hpp
index 099cd7c..bc3ec48 100644
--- a/src/callback.hpp
+++ b/src/callback.hpp
@@ -2,12 +2,13 @@
#include "data_types.hpp"
-#include <chrono>
-#include <cstddef>
#include <sdeventplus/clock.hpp>
#include <sdeventplus/event.hpp>
#include <sdeventplus/utility/timer.hpp>
+#include <chrono>
+#include <cstddef>
+
namespace phosphor
{
namespace dbus
@@ -83,8 +84,7 @@
explicit IndexedConditional(const PropertyIndex& conditionIndex) :
Conditional(), index(conditionIndex)
- {
- }
+ {}
/** @brief Test the condition. */
virtual bool operator()() override = 0;
@@ -108,8 +108,7 @@
virtual ~IndexedCallback() = default;
explicit IndexedCallback(const PropertyIndex& callbackIndex) :
Callback(), index(callbackIndex)
- {
- }
+ {}
/** @brief Run the callback. */
virtual void operator()(Context ctx) override = 0;
@@ -141,8 +140,7 @@
~GroupOfCallbacks() = default;
explicit GroupOfCallbacks(const std::vector<size_t>& graphEntry) :
graph(graphEntry)
- {
- }
+ {}
/** @brief Run the callbacks. */
void operator()(Context ctx) override
@@ -175,8 +173,7 @@
Conditional& cond) :
graph(graphEntry),
condition(cond)
- {
- }
+ {}
/** @brief Run the callback if the condition is satisfied. */
virtual void operator()(Context ctx) override
@@ -225,8 +222,7 @@
const std::chrono::microseconds& delay) :
ConditionalCallback<CallbackAccess>(graphEntry, cond),
delayInterval(delay), timer(nullptr)
- {
- }
+ {}
/** @brief Start internal timer if the condition is satisfied.
*