diff options
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/ObjectCache.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.cpp b/cpp/src/IceGrid/ObjectCache.cpp index 1a8f5ee0e41..9e28dbd3555 100644 --- a/cpp/src/IceGrid/ObjectCache.cpp +++ b/cpp/src/IceGrid/ObjectCache.cpp @@ -95,7 +95,10 @@ ObjectCache::TypeEntry::canTryAllocate(const ObjectEntryPtr& entry) { return false; } - ++p; + else + { + ++p; + } } catch(const AllocationException&) { |