summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/session/SessionFactoryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Ice/session/SessionFactoryI.cpp')
-rwxr-xr-xcpp/demo/Ice/session/SessionFactoryI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/demo/Ice/session/SessionFactoryI.cpp b/cpp/demo/Ice/session/SessionFactoryI.cpp
index 72fe47e5af1..66d27f083e8 100755
--- a/cpp/demo/Ice/session/SessionFactoryI.cpp
+++ b/cpp/demo/Ice/session/SessionFactoryI.cpp
@@ -9,12 +9,12 @@
#include <Ice/Ice.h>
#include <SessionFactoryI.h>
+#include <ReapThread.h>
using namespace std;
using namespace Demo;
-SessionFactoryI::SessionFactoryI(const ReapThreadPtr& reapThread) :
- _reapThread(reapThread)
+SessionFactoryI::SessionFactoryI()
{
}
@@ -29,7 +29,7 @@ SessionFactoryI::create(const Ice::Current& c)
SessionIPtr session = new SessionI;
SessionPrx proxy = SessionPrx::uncheckedCast(c.adapter->addWithUUID(session));
- _reapThread->add(proxy, session);
+ ReapThread::instance()->add(proxy, session);
return proxy;
}