Enable clang-format
Fix up problems and enable clang-format during CI builds.
Change-Id: Ia5c88281f7090c0aa09ba586d968f1fcd8aba4f1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/events.hpp b/events.hpp
index a6e3a5d..0cdcfbc 100644
--- a/events.hpp
+++ b/events.hpp
@@ -36,10 +36,10 @@
* @param[in] filters - An array of filter callbacks.
* @param[in] t - The event type.
*/
- explicit Event(
- const std::vector<Filter>& filters, Type t = Type::STARTUP) :
- std::vector<Filter>(filters),
- type(t) {}
+ explicit Event(const std::vector<Filter>& filters, Type t = Type::STARTUP) :
+ std::vector<Filter>(filters), type(t)
+ {
+ }
/** @brief event class enumeration. */
Type type;
@@ -70,8 +70,9 @@
* match callback filtering functions.
*/
DbusSignal(const char* sig, const std::vector<Filter>& filters) :
- Event(filters, Type::DBUS_SIGNAL),
- signature(sig) {}
+ Event(filters, Type::DBUS_SIGNAL), signature(sig)
+ {
+ }
const char* signature;
};