diff options
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.h')
-rw-r--r-- | cpp/src/IceGrid/ObjectCache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.h b/cpp/src/IceGrid/ObjectCache.h index 866350111fa..f19f602b7d4 100644 --- a/cpp/src/IceGrid/ObjectCache.h +++ b/cpp/src/IceGrid/ObjectCache.h @@ -39,7 +39,7 @@ public: bool canRemove(); virtual bool release(const SessionIPtr&); - virtual void allocated(const SessionIPtr&); + virtual bool allocated(const SessionIPtr&); virtual void released(const SessionIPtr&); private: @@ -61,9 +61,10 @@ public: private: - virtual void allocated(const AllocatablePtr& allocatable, const SessionIPtr& session) + virtual bool allocated(const AllocatablePtr& allocatable, const SessionIPtr& session) { response(ObjectEntryPtr::dynamicCast(allocatable)->getObjectInfo().proxy); + return true; } virtual void canceled(const AllocationException& ex) |