diff options
Diffstat (limited to 'cpp/demo/Ice/session/SessionFactoryI.cpp')
-rwxr-xr-x | cpp/demo/Ice/session/SessionFactoryI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/demo/Ice/session/SessionFactoryI.cpp b/cpp/demo/Ice/session/SessionFactoryI.cpp index 66d27f083e8..03fa652e862 100755 --- a/cpp/demo/Ice/session/SessionFactoryI.cpp +++ b/cpp/demo/Ice/session/SessionFactoryI.cpp @@ -7,7 +7,7 @@ // // ********************************************************************** -#include <Ice/Ice.h> +#include <Ice/Ice.h> // XXX Get rid of this, SessionFactoryI.cpp must include this. #include <SessionFactoryI.h> #include <ReapThread.h> @@ -25,7 +25,7 @@ SessionFactoryI::~SessionFactoryI() SessionPrx SessionFactoryI::create(const Ice::Current& c) { - Lock sync(*this); + Lock sync(*this); // XXX What is the mutex lock needed for? SessionIPtr session = new SessionI; SessionPrx proxy = SessionPrx::uncheckedCast(c.adapter->addWithUUID(session)); @@ -34,7 +34,7 @@ SessionFactoryI::create(const Ice::Current& c) } void -SessionFactoryI::shutdown(const ::Ice::Current& c) +SessionFactoryI::shutdown(const Ice::Current& c) { cout << "Shutting down..." << endl; c.adapter->getCommunicator()->shutdown(); |