Update codestyle

This commit is contained in:
Dawid Drozd 2017-06-12 16:03:34 +02:00
parent 9a459caa30
commit cb0398a888
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ public:
*/ */
template<typename ... Args> template<typename ... Args>
void listen(const Notification<Args...>& notification void listen(const Notification<Args...>& notification
, typename notifier_traits<const std::function<void(Args...)>&>::type callback) , typename notifier_traits<const std::function<void(Args...)>&>::type callback)
{ {
if (!callback) if (!callback)
{ {

View File

@ -69,6 +69,6 @@ struct notification_traits<Notification<Args...>>
using callback_type = typename std::function<void(Args...)>; using callback_type = typename std::function<void(Args...)>;
}; };
#define MAKE_NOTIFICATION(NAME, args...) inline const Dexode::Notification<args>& getNotification##NAME(){static const Dexode::Notification<args> variable(691283); return variable;}
} }
#define MAKE_NOTIFICATION(NAME, args...) inline const Dexode::Notification<args>& getNotification##NAME(){static const Dexode::Notification<args> variable(691283); return variable;}