diff options
author | Marc Laukien <marc@zeroc.com> | 2002-06-23 21:17:04 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-06-23 21:17:04 +0000 |
commit | 59788b8663f1f05a95b7afbbc6d2846dae11c96a (patch) | |
tree | c3ed292df270f11157decb83827d9af4144db52d /cpp/src/Ice/RoutingTable.cpp | |
parent | file run.py was initially added on branch location. (diff) | |
download | ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.bz2 ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.xz ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.zip |
removed spaces after keywords
Diffstat (limited to 'cpp/src/Ice/RoutingTable.cpp')
-rw-r--r-- | cpp/src/Ice/RoutingTable.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/src/Ice/RoutingTable.cpp b/cpp/src/Ice/RoutingTable.cpp index e1e88f5804c..79d13233636 100644 --- a/cpp/src/Ice/RoutingTable.cpp +++ b/cpp/src/Ice/RoutingTable.cpp @@ -26,7 +26,7 @@ IceInternal::RoutingTable::RoutingTable() : bool IceInternal::RoutingTable::add(const ObjectPrx& prx) { - if (!prx) + if(!prx) { return false; } @@ -37,20 +37,20 @@ IceInternal::RoutingTable::add(const ObjectPrx& prx) map<Identity, ObjectPrx>::iterator p = _table.end(); - if (_tableHint != _table.end()) + if(_tableHint != _table.end()) { - if (_tableHint->first == proxy->ice_getIdentity()) + if(_tableHint->first == proxy->ice_getIdentity()) { p = _tableHint; } } - if (p == _table.end()) + if(p == _table.end()) { p = _table.find(proxy->ice_getIdentity()); } - if (p == _table.end()) + if(p == _table.end()) { _tableHint = _table.insert(_tableHint, make_pair(proxy->ice_getIdentity(), proxy)); return true; @@ -64,7 +64,7 @@ IceInternal::RoutingTable::add(const ObjectPrx& prx) ObjectPrx IceInternal::RoutingTable::get(const Identity& ident) { - if (ident.name.empty()) + if(ident.name.empty()) { return 0; } @@ -73,20 +73,20 @@ IceInternal::RoutingTable::get(const Identity& ident) map<Identity, ObjectPrx>::iterator p = _table.end(); - if (_tableHint != _table.end()) + if(_tableHint != _table.end()) { - if (_tableHint->first == ident) + if(_tableHint->first == ident) { p = _tableHint; } } - if (p == _table.end()) + if(p == _table.end()) { p = _table.find(ident); } - if (p == _table.end()) + if(p == _table.end()) { return 0; } |