diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-03-29 10:34:05 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-03-29 10:34:46 -0400 |
commit | d1eac88d18ae7dd11033dba87b6aebb220da9064 (patch) | |
tree | 9744e38138ff853c53868d847f86e9ad58e9ac66 /src/watch.hpp | |
parent | 1abcb06bedadfbd40b4ec6f7e5f6a95021df3c96 (diff) | |
download | phosphor-dbus-monitor-d1eac88d18ae7dd11033dba87b6aebb220da9064.tar.gz phosphor-dbus-monitor-d1eac88d18ae7dd11033dba87b6aebb220da9064.zip |
Enable clang-format
Fix up errors and enable clang-format during CI builds.
Change-Id: I4176b81f8b85a287af9354165e09ff66aeb9fb29
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/watch.hpp')
-rw-r--r-- | src/watch.hpp | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/watch.hpp b/src/watch.hpp index d420458..9c97b9e 100644 --- a/src/watch.hpp +++ b/src/watch.hpp @@ -24,20 +24,19 @@ namespace monitoring */ class Watch { - public: - Watch() = default; - Watch(const Watch&) = default; - Watch(Watch&&) = default; - Watch& operator=(const Watch&) = default; - Watch& operator=(Watch&&) = default; - virtual ~Watch() = default; + public: + Watch() = default; + Watch(const Watch&) = default; + Watch(Watch&&) = default; + Watch& operator=(const Watch&) = default; + Watch& operator=(Watch&&) = default; + virtual ~Watch() = default; - /** @brief Start the watch. */ - virtual void start() = 0; - - /** @brief Invoke the callback associated with the watch. */ - virtual void callback(Context ctx) = 0; + /** @brief Start the watch. */ + virtual void start() = 0; + /** @brief Invoke the callback associated with the watch. */ + virtual void callback(Context ctx) = 0; }; } // namespace monitoring |