summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/nested/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Ice/nested/Server.cpp')
-rw-r--r--cpp/demo/Ice/nested/Server.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/demo/Ice/nested/Server.cpp b/cpp/demo/Ice/nested/Server.cpp
index 39cbfbd2faa..21c90e32baf 100644
--- a/cpp/demo/Ice/nested/Server.cpp
+++ b/cpp/demo/Ice/nested/Server.cpp
@@ -7,14 +7,13 @@
//
// **********************************************************************
-#include <Ice/Application.h>
#include <NestedI.h>
+#include <Ice/Application.h>
using namespace std;
-using namespace Ice;
using namespace Demo;
-class NestedServer : public Application
+class NestedServer : public Ice::Application
{
public:
@@ -31,7 +30,7 @@ main(int argc, char* argv[])
int
NestedServer::run(int argc, char* argv[])
{
- ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Nested.Server");
+ Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Nested.Server");
NestedPrx self = NestedPrx::uncheckedCast(adapter->createProxy(Ice::stringToIdentity("nestedServer")));
adapter->add(new NestedI(self), Ice::stringToIdentity("nestedServer"));
adapter->activate();