mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-27 12:21:02 +08:00
Code format
This commit is contained in:
parent
caa2b3e9ff
commit
be33318242
@ -5,10 +5,8 @@
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
|
||||
#include <eventbus/EventBus.h>
|
||||
|
||||
#include <dexode/EventBus.hpp>
|
||||
|
||||
#include <eventbus/EventBus.h>
|
||||
|
||||
#include "eventbus/Listener.hpp"
|
||||
#include "eventbus/Subscriber.hpp"
|
||||
|
@ -43,6 +43,7 @@ bool Protected::wait()
|
||||
std::shared_lock readLock{_mutex};
|
||||
return not _eventQueue.empty();
|
||||
}
|
||||
|
||||
bool Protected::waitFor(std::chrono::milliseconds timeout)
|
||||
{
|
||||
using namespace std::chrono_literals;
|
||||
|
Loading…
x
Reference in New Issue
Block a user