diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-10-17 13:52:27 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-10-17 13:52:27 +0000 |
commit | 9684b99fb9b1c531a180f60c17128ee7502b7c7a (patch) | |
tree | ee76c1a78e0484a68fa22a04851b411d7428ef7e /cpp/src/IceGrid/NodeCache.cpp | |
parent | Changed error message in Makefile.mak (diff) | |
download | ice-9684b99fb9b1c531a180f60c17128ee7502b7c7a.tar.bz2 ice-9684b99fb9b1c531a180f60c17128ee7502b7c7a.tar.xz ice-9684b99fb9b1c531a180f60c17128ee7502b7c7a.zip |
Replication fixes, more work on the replication tests
Diffstat (limited to 'cpp/src/IceGrid/NodeCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/NodeCache.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cpp/src/IceGrid/NodeCache.cpp b/cpp/src/IceGrid/NodeCache.cpp index 645a7f60475..21619cc5be7 100644 --- a/cpp/src/IceGrid/NodeCache.cpp +++ b/cpp/src/IceGrid/NodeCache.cpp @@ -192,16 +192,6 @@ NodeCache::NodeCache(const Ice::CommunicatorPtr& communicator, ReplicaCache& rep { } -void -NodeCache::destroy() -{ - map<string, NodeEntryPtr> entries = _entries; // Copying the map is necessary as setSession might remove the entry. - for(map<string, NodeEntryPtr>::const_iterator p = entries.begin(); p != entries.end(); ++p) - { - p->second->setSession(0); // Break cyclic reference count. - } -} - NodeEntryPtr NodeCache::get(const string& name, bool create) const { |