summaryrefslogtreecommitdiff
path: root/include/erebos
diff options
context:
space:
mode:
Diffstat (limited to 'include/erebos')
-rw-r--r--include/erebos/message.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/erebos/message.h b/include/erebos/message.h
index b52b84b..508aa23 100644
--- a/include/erebos/message.h
+++ b/include/erebos/message.h
@@ -4,7 +4,6 @@
#include <erebos/service.h>
#include <condition_variable>
-#include <deque>
#include <functional>
#include <memory>
#include <mutex>
@@ -15,7 +14,6 @@
namespace erebos {
using std::condition_variable;
-using std::deque;
using std::mutex;
using std::tuple;
using std::unique_ptr;
@@ -160,7 +158,7 @@ private:
mutex peerSyncMutex;
condition_variable peerSyncCond;
bool peerSyncRun;
- deque<tuple<DirectMessageThread, Peer>> peerSyncQueue;
+ vector<tuple<DirectMessageThread, Peer>> peerSyncQueue;
std::thread peerSyncThread;
Watched<DirectMessageThreads> watched;