summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Service.cpp')
-rwxr-xr-xcpp/src/Ice/Service.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/Ice/Service.cpp b/cpp/src/Ice/Service.cpp
index 6c5c31a2a90..fc7063e76b1 100755
--- a/cpp/src/Ice/Service.cpp
+++ b/cpp/src/Ice/Service.cpp
@@ -17,7 +17,6 @@
#include <Ice/Communicator.h>
#include <Ice/LocalException.h>
#include <Ice/Properties.h>
-#include <list>
#ifdef _WIN32
# include <winsock2.h>
@@ -1618,7 +1617,7 @@ Ice::Service::runDaemon(int argc, char* argv[], const InitializationData& initDa
}
}
- list<int> fdsToClose;
+ vector<int> fdsToClose;
if(_closeFiles)
{
//
@@ -1673,7 +1672,7 @@ Ice::Service::runDaemon(int argc, char* argv[], const InitializationData& initDa
string stdOut = properties->getProperty("Ice.StdOut");
string stdErr = properties->getProperty("Ice.StdErr");
- list<int>::const_iterator p;
+ vector<int>::const_iterator p;
for(p = fdsToClose.begin(); p != fdsToClose.end(); ++p)
{
//