summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/SessionI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/SessionI.h')
-rw-r--r--cpp/src/IceGrid/SessionI.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/SessionI.h b/cpp/src/IceGrid/SessionI.h
index e5df4329923..21f0bad52e6 100644
--- a/cpp/src/IceGrid/SessionI.h
+++ b/cpp/src/IceGrid/SessionI.h
@@ -62,6 +62,10 @@ protected:
IceUtil::Time _timestamp;
};
+class SessionDestroyedException
+{
+};
+
class SessionI : virtual public Session, public BaseSessionI
{
public:
@@ -88,7 +92,7 @@ public:
bool addAllocationRequest(const AllocationRequestPtr&);
void removeAllocationRequest(const AllocationRequestPtr&);
- bool addAllocation(const AllocatablePtr&);
+ void addAllocation(const AllocatablePtr&);
void removeAllocation(const AllocatablePtr&);
protected: