From a7da4de2000e9738ed895e534e782e82125ac2c0 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Thu, 14 Sep 2006 18:50:17 +0000 Subject: Fixed TODOs --- cpp/src/IceGrid/ObjectCache.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src/IceGrid/ObjectCache.cpp') diff --git a/cpp/src/IceGrid/ObjectCache.cpp b/cpp/src/IceGrid/ObjectCache.cpp index c2b58f08833..ee6483c9d9f 100644 --- a/cpp/src/IceGrid/ObjectCache.cpp +++ b/cpp/src/IceGrid/ObjectCache.cpp @@ -114,8 +114,9 @@ ObjectEntryPtr ObjectCache::remove(const Ice::Identity& id) { Lock sync(*this); - ObjectEntryPtr entry = removeImpl(id); + ObjectEntryPtr entry = getImpl(id); assert(entry); + removeImpl(id); map::iterator p = _types.find(entry->getType()); assert(p != _types.end()); -- cgit v1.2.3