diff options
author | Patrick Venture <venture@google.com> | 2018-08-31 09:33:09 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-09-04 16:43:17 -0700 |
commit | 3d6d3182ee0b0e88b81fbbbe5c91dea3e99425a9 (patch) | |
tree | e4ce167e617e988157a6ea8bfa9de579ebfcf0b8 /src/callback.hpp | |
parent | ac8039592ad4b58edbf79900bf41a1faabea3fa2 (diff) | |
download | phosphor-dbus-monitor-3d6d3182ee0b0e88b81fbbbe5c91dea3e99425a9.tar.gz phosphor-dbus-monitor-3d6d3182ee0b0e88b81fbbbe5c91dea3e99425a9.zip |
update .clang-format
Added the header inclusion order to the .clang-format file generated
these changes.
Change-Id: I4f51a20f469de431ee6a5ba78e3f4da39c980fab
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'src/callback.hpp')
-rw-r--r-- | src/callback.hpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/callback.hpp b/src/callback.hpp index e1e2325..c79dcd0 100644 --- a/src/callback.hpp +++ b/src/callback.hpp @@ -1,8 +1,9 @@ #pragma once -#include <chrono> #include "data_types.hpp" +#include <chrono> + namespace phosphor { namespace dbus @@ -124,7 +125,8 @@ class IndexedCallback : public Callback * * @tparam CallbackAccess - Access to the array of callbacks. */ -template <typename CallbackAccess> class GroupOfCallbacks : public Callback +template <typename CallbackAccess> +class GroupOfCallbacks : public Callback { public: GroupOfCallbacks() = delete; @@ -155,7 +157,8 @@ template <typename CallbackAccess> class GroupOfCallbacks : public Callback /** @class ConditionalCallback * @brief Callback adaptor that asssociates a condition with a callback. */ -template <typename CallbackAccess> class ConditionalCallback : public Callback +template <typename CallbackAccess> +class ConditionalCallback : public Callback { public: ConditionalCallback() = delete; |