summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-12-10 14:58:47 +0000
committerMarc Laukien <marc@zeroc.com>2001-12-10 14:58:47 +0000
commit5c2b17ff68c63589e34d89f9719fb090f8bef9b4 (patch)
treeee559984f904d2a04c23eaea2c32bfa33aa4999e /cpp/src/Ice/ThreadPool.cpp
parentfix (diff)
downloadice-5c2b17ff68c63589e34d89f9719fb090f8bef9b4.tar.bz2
ice-5c2b17ff68c63589e34d89f9719fb090f8bef9b4.tar.xz
ice-5c2b17ff68c63589e34d89f9719fb090f8bef9b4.zip
fix
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp
index 5cc696ff9e4..c27f3f9864a 100644
--- a/cpp/src/Ice/ThreadPool.cpp
+++ b/cpp/src/Ice/ThreadPool.cpp
@@ -405,7 +405,7 @@ IceInternal::ThreadPool::run()
if (!_handlerMap.empty())
{
_maxFd = max(_maxFd, (--_handlerMap.end())->first);
- _minFd = min(_minFd, (_handlerMap.begin())->first);
+ _minFd = min(_minFd, _handlerMap.begin()->first);
}
if (_handlerMap.empty() || _servers == 0)
{