summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ThreadPool.h')
-rw-r--r--cpp/src/Ice/ThreadPool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/ThreadPool.h b/cpp/src/Ice/ThreadPool.h
index 973df01bff2..dd19af17cf1 100644
--- a/cpp/src/Ice/ThreadPool.h
+++ b/cpp/src/Ice/ThreadPool.h
@@ -21,7 +21,7 @@
#include <Ice/LoggerF.h>
#include <Ice/PropertiesF.h>
#include <Ice/EventHandlerF.h>
-#include <list>
+#include <deque>
#ifndef WIN32
# define SOCKET int
@@ -70,7 +70,7 @@ private:
SOCKET _fdIntrWrite;
fd_set _fdSet;
std::vector<std::pair<SOCKET, EventHandlerPtr> > _adds;
- std::vector<std::pair<SOCKET, bool> > _removes;
+ std::deque<std::pair<SOCKET, bool> > _removes;
std::map<SOCKET, EventHandlerPtr> _handlerMap;
int _servers;
int _timeout;