summaryrefslogtreecommitdiff
path: root/cs/demo/IcePack/hello/Server.cs
diff options
context:
space:
mode:
Diffstat (limited to 'cs/demo/IcePack/hello/Server.cs')
-rw-r--r--cs/demo/IcePack/hello/Server.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cs/demo/IcePack/hello/Server.cs b/cs/demo/IcePack/hello/Server.cs
index 4e21e8e5991..2a57d78df38 100644
--- a/cs/demo/IcePack/hello/Server.cs
+++ b/cs/demo/IcePack/hello/Server.cs
@@ -17,8 +17,7 @@ public class Server : Ice.Application
String id = communicator().getProperties().getProperty("Identity");
- Ice.Object @object = new HelloFactoryI();
- adapter.add(@object, Ice.Util.stringToIdentity(id));
+ adapter.add(new HelloFactoryI(), Ice.Util.stringToIdentity(id));
adapter.activate();
communicator().waitForShutdown();