diff --git a/lib/src/dexode/EventBus.cpp b/lib/src/dexode/EventBus.cpp index 87270a9..23a7868 100644 --- a/lib/src/dexode/EventBus.cpp +++ b/lib/src/dexode/EventBus.cpp @@ -30,7 +30,7 @@ std::size_t EventBus::processLimit(const std::size_t limit) { std::lock_guard writeGuard{_mutexStreams}; - if(not _eventStreams.empty()) + if(!_eventStreams.empty()) { // If anything was added then we need to add those elements std::move(_eventStreams.begin(), _eventStreams.end(), std::back_inserter(eventStreams)); diff --git a/lib/src/dexode/EventBus.hpp b/lib/src/dexode/EventBus.hpp index 2d94ef3..2c9ee2d 100644 --- a/lib/src/dexode/EventBus.hpp +++ b/lib/src/dexode/EventBus.hpp @@ -8,6 +8,7 @@ #include #include #include +#include #include "dexode/eventbus/Bus.hpp"