diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-09-14 18:50:17 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-09-14 18:50:17 +0000 |
commit | a7da4de2000e9738ed895e534e782e82125ac2c0 (patch) | |
tree | 367b47c719e4860fb096ec5fc51aee0ae3034cb9 /cpp/src/IceGrid/ObjectCache.cpp | |
parent | Fix (diff) | |
download | ice-a7da4de2000e9738ed895e534e782e82125ac2c0.tar.bz2 ice-a7da4de2000e9738ed895e534e782e82125ac2c0.tar.xz ice-a7da4de2000e9738ed895e534e782e82125ac2c0.zip |
Fixed TODOs
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/ObjectCache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<string, TypeEntry>::iterator p = _types.find(entry->getType()); assert(p != _types.end()); |