diff options
Diffstat (limited to 'cpp/src/Ice/RoutingTable.cpp')
-rw-r--r-- | cpp/src/Ice/RoutingTable.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/cpp/src/Ice/RoutingTable.cpp b/cpp/src/Ice/RoutingTable.cpp index 78c93dd31ae..d5514dc4990 100644 --- a/cpp/src/Ice/RoutingTable.cpp +++ b/cpp/src/Ice/RoutingTable.cpp @@ -71,39 +71,3 @@ IceInternal::RoutingTable::add(const ObjectPrx& prx) return false; } } - -ObjectPrx -IceInternal::RoutingTable::get(const Identity& ident) -{ - if(ident.name.empty()) - { - return 0; - } - - IceUtil::Mutex::Lock sync(*this); - - map<Identity, ObjectPrx>::iterator p = _table.end(); - - if(_tableHint != _table.end()) - { - if(_tableHint->first == ident) - { - p = _tableHint; - } - } - - if(p == _table.end()) - { - p = _table.find(ident); - } - - if(p == _table.end()) - { - return 0; - } - else - { - _tableHint = p; - return p->second; - } -} |