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/AllocatableObjectCache.cpp | |
parent | Fix (diff) | |
download | ice-a7da4de2000e9738ed895e534e782e82125ac2c0.tar.bz2 ice-a7da4de2000e9738ed895e534e782e82125ac2c0.tar.xz ice-a7da4de2000e9738ed895e534e782e82125ac2c0.zip |
Fixed TODOs
Diffstat (limited to 'cpp/src/IceGrid/AllocatableObjectCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/AllocatableObjectCache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/AllocatableObjectCache.cpp b/cpp/src/IceGrid/AllocatableObjectCache.cpp index 341d110a56b..8be86c60f7e 100644 --- a/cpp/src/IceGrid/AllocatableObjectCache.cpp +++ b/cpp/src/IceGrid/AllocatableObjectCache.cpp @@ -166,8 +166,9 @@ AllocatableObjectEntryPtr AllocatableObjectCache::remove(const Ice::Identity& id) { Lock sync(*this); - AllocatableObjectEntryPtr entry = removeImpl(id); + AllocatableObjectEntryPtr entry = getImpl(id); assert(entry); + removeImpl(id); map<string, TypeEntry>::iterator p = _types.find(entry->getType()); assert(p != _types.end()); |