Enable clang-format
Fix up errors and enable clang-format during CI builds.
Change-Id: I4176b81f8b85a287af9354165e09ff66aeb9fb29
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
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 @@
*/
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 Start the watch. */
+ virtual void start() = 0;
- /** @brief Invoke the callback associated with the watch. */
- virtual void callback(Context ctx) = 0;
-
+ /** @brief Invoke the callback associated with the watch. */
+ virtual void callback(Context ctx) = 0;
};
} // namespace monitoring