diff options
author | Brent Eagles <brent@zeroc.com> | 2006-04-18 14:42:53 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2006-04-18 14:42:53 +0000 |
commit | 0411b54af3a44937b01af142f3fccaad5d2538fc (patch) | |
tree | 46fc6e0c745a7066f5566822e103159c29fab822 /cpp/src | |
parent | fixing bogus commit on allTests.py (diff) | |
download | ice-0411b54af3a44937b01af142f3fccaad5d2538fc.tar.bz2 ice-0411b54af3a44937b01af142f3fccaad5d2538fc.tar.xz ice-0411b54af3a44937b01af142f3fccaad5d2538fc.zip |
tidy
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Glacier2/RoutingTable.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/Glacier2/RoutingTable.cpp b/cpp/src/Glacier2/RoutingTable.cpp index e40d4aeaf2a..b4055d57919 100644 --- a/cpp/src/Glacier2/RoutingTable.cpp +++ b/cpp/src/Glacier2/RoutingTable.cpp @@ -25,16 +25,14 @@ ObjectProxySeq Glacier2::RoutingTable::add(const ObjectProxySeq& unfiltered, const Ice::Current& current) { IceUtil::Mutex::Lock sync(*this); - - ObjectProxySeq::const_iterator prx; - - ObjectProxySeq proxies; // // We 'pre-scan' the list, applying our validation rules. The // ensures that our state is not modified if this operation results // in a rejection. // + ObjectProxySeq proxies; + ObjectProxySeq::const_iterator prx; for(prx = unfiltered.begin(); prx != unfiltered.end(); ++prx) { if(!*prx) // We ignore null proxies. |