Fix weird MSVC errors

This commit is contained in:
Dodopriester 2021-06-27 23:43:18 +02:00 committed by Dawid Drozd
parent 804cf6b7cd
commit 08d7937e6e
2 changed files with 2 additions and 1 deletions

View File

@ -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));

View File

@ -8,6 +8,7 @@
#include <map>
#include <memory>
#include <shared_mutex>
#include <iterator>
#include "dexode/eventbus/Bus.hpp"