summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/session/SessionFactoryI.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-04-19 07:22:26 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-04-19 07:22:26 +0000
commit21d4f05364a1bd09eabc075a3bffdbae4d0b92b5 (patch)
tree5d9664798d26581ddc3e47ed6224ee877dca2e90 /cpp/demo/Ice/session/SessionFactoryI.cpp
parentAdded missing lock. (diff)
downloadice-21d4f05364a1bd09eabc075a3bffdbae4d0b92b5.tar.bz2
ice-21d4f05364a1bd09eabc075a3bffdbae4d0b92b5.tar.xz
ice-21d4f05364a1bd09eabc075a3bffdbae4d0b92b5.zip
addressed few more concerns.
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;
}