From 7543bcb52cf1da76f73e9285af36a808feaa6ce4 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Wed, 28 Nov 2007 11:15:40 +0100 Subject: VC6 compilation error fixes --- cpp/src/Ice/SelectorThread.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'cpp/src/Ice/SelectorThread.cpp') diff --git a/cpp/src/Ice/SelectorThread.cpp b/cpp/src/Ice/SelectorThread.cpp index b0eb5007257..dba4a566d07 100644 --- a/cpp/src/Ice/SelectorThread.cpp +++ b/cpp/src/Ice/SelectorThread.cpp @@ -136,7 +136,7 @@ IceInternal::SelectorThread::run() catch(const Ice::LocalException& ex) { Error out(_instance->initializationData().logger); - out << "exception in selector thread:\n" << ex; + out << "exception in selector thread:\n" << ex; continue; } @@ -153,7 +153,7 @@ IceInternal::SelectorThread::run() // 1. The selector thread has been destroyed. // 2. A socket was registered or unregistered. // - + // // Thread destroyed? // @@ -252,19 +252,19 @@ IceInternal::SelectorThread::run() } readyList.clear(); - + if(finishedList.empty()) { continue; } - - for(vector::const_iterator p = finishedList.begin(); p != finishedList.end(); ++p) + + for(vector::const_iterator q = finishedList.begin(); q != finishedList.end(); ++q) { - if((*p)->status != Finished) + if((*q)->status != Finished) { - _selector.remove((*p)->fd, (*p)->status); + _selector.remove((*q)->fd, (*q)->status); } - socketMap.erase((*p)->fd); + socketMap.erase((*q)->fd); } finishedList.clear(); } @@ -297,7 +297,7 @@ IceInternal::SelectorThread::HelperThread::run() catch(...) { Error out(_selectorThread->_instance->initializationData().logger); - out << "unknown exception in selector thread"; + out << "unknown exception in selector thread"; } if(_selectorThread->_instance->initializationData().threadHook) -- cgit v1.2.3