diff options
author | Jose <jose@zeroc.com> | 2015-12-07 21:08:51 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-12-07 21:08:51 +0100 |
commit | acb6c5333de462e29d21166057fc074a815f2e3d (patch) | |
tree | 9acad37c34ef7b503f3aac13ea1858f1c965946c /cpp/test/Ice/slicing/objects/ServerAMD.cpp | |
parent | ICE-6897 - Add delegate metadata (diff) | |
download | ice-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/slicing/objects/ServerAMD.cpp')
-rw-r--r-- | cpp/test/Ice/slicing/objects/ServerAMD.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/slicing/objects/ServerAMD.cpp b/cpp/test/Ice/slicing/objects/ServerAMD.cpp index f494290748a..afea23f1a24 100644 --- a/cpp/test/Ice/slicing/objects/ServerAMD.cpp +++ b/cpp/test/Ice/slicing/objects/ServerAMD.cpp @@ -22,7 +22,7 @@ run(int, char**, const Ice::CommunicatorPtr& communicator) properties->setProperty("Ice.Warn.Dispatch", "0"); communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 2000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); - Ice::ObjectPtr object = new TestI(); + Ice::ObjectPtr object = ICE_MAKE_SHARED(TestI); adapter->add(object, communicator->stringToIdentity("Test")); adapter->activate(); TEST_READY |