mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-26 18:51:02 +08:00
Fix weird MSVC errors
This commit is contained in:
parent
804cf6b7cd
commit
08d7937e6e
@ -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));
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <shared_mutex>
|
||||
#include <iterator>
|
||||
|
||||
#include "dexode/eventbus/Bus.hpp"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user