diff options
author | Jose <jose@zeroc.com> | 2012-10-03 14:51:45 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-10-03 14:51:45 +0200 |
commit | 319a8a2f04aa3dec1eb41f9aa29690bf68bdcfbd (patch) | |
tree | 6cf6d939c3621633056403ff1d1106949a00b5f0 /cpp/src/Ice/Service.cpp | |
parent | Minor C++ fixes (diff) | |
download | ice-319a8a2f04aa3dec1eb41f9aa29690bf68bdcfbd.tar.bz2 ice-319a8a2f04aa3dec1eb41f9aa29690bf68bdcfbd.tar.xz ice-319a8a2f04aa3dec1eb41f9aa29690bf68bdcfbd.zip |
ICE-4824 - Fixed VC6 style loops
Diffstat (limited to 'cpp/src/Ice/Service.cpp')
-rw-r--r-- | cpp/src/Ice/Service.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/Ice/Service.cpp b/cpp/src/Ice/Service.cpp index 722a729229d..9b24501844c 100644 --- a/cpp/src/Ice/Service.cpp +++ b/cpp/src/Ice/Service.cpp @@ -1697,8 +1697,7 @@ Ice::Service::runDaemon(int argc, char* argv[], const InitializationData& initDa string stdOut = properties->getProperty("Ice.StdOut"); string stdErr = properties->getProperty("Ice.StdErr"); - vector<int>::const_iterator p; - for(p = fdsToClose.begin(); p != fdsToClose.end(); ++p) + for(vector<int>::const_iterator p = fdsToClose.begin(); p != fdsToClose.end(); ++p) { // // NOTE: Do not close stdout if Ice.StdOut is defined. Likewise for Ice.StdErr. |