mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-26 18:51:02 +08:00
Update codestyle
This commit is contained in:
parent
9a459caa30
commit
cb0398a888
@ -32,7 +32,7 @@ public:
|
||||
*/
|
||||
template<typename ... Args>
|
||||
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)
|
||||
{
|
||||
|
@ -69,6 +69,6 @@ struct notification_traits<Notification<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;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user