diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-04-09 15:03:35 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-04-09 15:03:35 +0000 |
commit | 3cbc97486f02fdd25a532af96146aa956e51e26d (patch) | |
tree | 49dadb69954c3c3ef6ce87a9320b8c5c7bb714b8 /cpp/src/Ice/RouterInfo.cpp | |
parent | adding Strategy.ice (diff) | |
download | ice-3cbc97486f02fdd25a532af96146aa956e51e26d.tar.bz2 ice-3cbc97486f02fdd25a532af96146aa956e51e26d.tar.xz ice-3cbc97486f02fdd25a532af96146aa956e51e26d.zip |
Solaris/Sun C++ 5.4 port
Diffstat (limited to 'cpp/src/Ice/RouterInfo.cpp')
-rw-r--r-- | cpp/src/Ice/RouterInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/RouterInfo.cpp b/cpp/src/Ice/RouterInfo.cpp index e3847a989c4..b849e285293 100644 --- a/cpp/src/Ice/RouterInfo.cpp +++ b/cpp/src/Ice/RouterInfo.cpp @@ -38,7 +38,7 @@ IceInternal::RouterManager::destroy() { IceUtil::Mutex::Lock sync(*this); - for_each(_table.begin(), _table.end(), Ice::secondVoidMemFun<RouterPrx, RouterInfo>(&RouterInfo::destroy)); + for_each(_table.begin(), _table.end(), Ice::secondVoidMemFun<const RouterPrx, RouterInfo>(&RouterInfo::destroy)); _table.clear(); _tableHint = _table.end(); @@ -73,7 +73,7 @@ IceInternal::RouterManager::get(const RouterPrx& rtr) if(p == _table.end()) { - _tableHint = _table.insert(_tableHint, make_pair(router, new RouterInfo(router))); + _tableHint = _table.insert(_tableHint, pair<const RouterPrx, RouterInfoPtr>(router, new RouterInfo(router))); } else { |