diff --git a/src/EventCollector.h b/src/EventCollector.h index c3c943e..1d0c77e 100644 --- a/src/EventCollector.h +++ b/src/EventCollector.h @@ -32,7 +32,7 @@ public: */ template void listen(const Notification& notification - , typename notifier_traits&>::type callback) + , typename notifier_traits&>::type callback) { if (!callback) { diff --git a/src/Notification.h b/src/Notification.h index 54ef00f..cac20af 100644 --- a/src/Notification.h +++ b/src/Notification.h @@ -69,6 +69,6 @@ struct notification_traits> using callback_type = typename std::function; }; -#define MAKE_NOTIFICATION(NAME, args...) inline const Dexode::Notification& getNotification##NAME(){static const Dexode::Notification variable(691283); return variable;} - } + +#define MAKE_NOTIFICATION(NAME, args...) inline const Dexode::Notification& getNotification##NAME(){static const Dexode::Notification variable(691283); return variable;}