summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/stringConverter/Server.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-12-07 21:08:51 +0100
committerJose <jose@zeroc.com>2015-12-07 21:08:51 +0100
commitacb6c5333de462e29d21166057fc074a815f2e3d (patch)
tree9acad37c34ef7b503f3aac13ea1858f1c965946c /cpp/test/Ice/stringConverter/Server.cpp
parentICE-6897 - Add delegate metadata (diff)
downloadice-acb6c5333de462e29d21166057fc074a815f2e3d.tar.bz2
ice-acb6c5333de462e29d21166057fc074a815f2e3d.tar.xz
ice-acb6c5333de462e29d21166057fc074a815f2e3d.zip
C++11 mapping updates:
- Added missing __hash method - Added missing virtual method Value::ice_clone - Fixed issue with unmarshalling the idirection table - Fixed default value initialization for scoped enums - Fixed scoped enums mapping to use correct size types - Added missing ice_id method to generated Value classes - Fixed defaultValue, hash, networkProxy, plug-in, stringConverter, threadPoolPriority and slicing/objects tests to work with C++11 mapping
Diffstat (limited to 'cpp/test/Ice/stringConverter/Server.cpp')
-rw-r--r--cpp/test/Ice/stringConverter/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/stringConverter/Server.cpp b/cpp/test/Ice/stringConverter/Server.cpp
index 9b07edb5f8f..225c54f8f48 100644
--- a/cpp/test/Ice/stringConverter/Server.cpp
+++ b/cpp/test/Ice/stringConverter/Server.cpp
@@ -52,7 +52,7 @@ run(int, char**, const Ice::CommunicatorPtr& communicator)
{
communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010:udp -p 12010");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
- adapter->add(new MyObjectI, communicator->stringToIdentity("test"));
+ adapter->add(ICE_MAKE_SHARED(MyObjectI), communicator->stringToIdentity("test"));
adapter->activate();
TEST_READY