1 2 3 4 5 6 7 8
#include "EventBus.hpp" using namespace Event; UP<CEventBus>& Event::bus() { static UP<CEventBus> p = makeUnique<CEventBus>(); return p; }