diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-01-11 16:25:23 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-01-11 16:25:23 +0000 |
commit | 3c52161782323607816dd41f4e6dd9c40b9e7e50 (patch) | |
tree | a7fc98c0d45366fc9a37377633068125ae03960f /cpp/src/Ice/Service.cpp | |
parent | Bug 1654: Replaced fd_set with a list (diff) | |
download | ice-3c52161782323607816dd41f4e6dd9c40b9e7e50.tar.bz2 ice-3c52161782323607816dd41f4e6dd9c40b9e7e50.tar.xz ice-3c52161782323607816dd41f4e6dd9c40b9e7e50.zip |
use vector instead of list
Diffstat (limited to 'cpp/src/Ice/Service.cpp')
-rwxr-xr-x | cpp/src/Ice/Service.cpp | 5 |
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) { // |