diff options
author | Marc Laukien <marc@zeroc.com> | 2001-12-10 23:00:55 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-12-10 23:00:55 +0000 |
commit | de0794bef207fbf642d236494cc840605f1b51a3 (patch) | |
tree | eb7743659eff0515dcd58db4f6fc32c5904d7c32 /cpp | |
parent | Fix admin bug. (diff) | |
download | ice-de0794bef207fbf642d236494cc840605f1b51a3.tar.bz2 ice-de0794bef207fbf642d236494cc840605f1b51a3.tar.xz ice-de0794bef207fbf642d236494cc840605f1b51a3.zip |
fix
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/Ice/ThreadPool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp index 8fc3aa78bb2..936f96907af 100644 --- a/cpp/src/Ice/ThreadPool.cpp +++ b/cpp/src/Ice/ThreadPool.cpp @@ -348,7 +348,7 @@ IceInternal::ThreadPool::run() _minFd = _fdIntrRead; if (!_handlerMap.empty()) { - _maxFd = max(_maxFd, _handlerMap.rbegin()->first); + _maxFd = max(_maxFd, (--_handlerMap.end())->first); _minFd = min(_minFd, _handlerMap.begin()->first); } if (_handlerMap.empty() || _servers == 0) |