diff options
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 { |