mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-27 12:21:02 +08:00
Update namespace for null_deleter
This commit is contained in:
parent
d14e07bd3e
commit
9a459caa30
@ -4,6 +4,15 @@
|
||||
|
||||
#include "EventCollector.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
void null_deleter(Dexode::Notifier*)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
namespace Dexode
|
||||
{
|
||||
|
||||
@ -13,10 +22,6 @@ EventCollector::EventCollector(const std::shared_ptr<Notifier>& notifier)
|
||||
assert(_notifier);
|
||||
}
|
||||
|
||||
void null_deleter(Notifier*)
|
||||
{
|
||||
}
|
||||
|
||||
//Maybe ugly but hey ;) Less code and simply i can :D
|
||||
EventCollector::EventCollector(Notifier& notifier)
|
||||
: _notifier(¬ifier, &null_deleter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user