summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/macros/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Slice/macros/Client.cpp')
-rw-r--r--cpp/test/Slice/macros/Client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Slice/macros/Client.cpp b/cpp/test/Slice/macros/Client.cpp
index 36c26e47b7a..a4fdb957129 100644
--- a/cpp/test/Slice/macros/Client.cpp
+++ b/cpp/test/Slice/macros/Client.cpp
@@ -21,11 +21,11 @@ main(int argc, char* argv[])
try
{
cout << "testing Slice predefined macros... " << flush;
- DefaultPtr d = new Default();
+ DefaultPtr d = ICE_MAKE_SHARED(Default);
test(d->x == 10);
test(d->y == 10);
- CppOnlyPtr c = new CppOnly();
+ CppOnlyPtr c = ICE_MAKE_SHARED(CppOnly);
test(c->lang == "cpp");
test(c->version == ICE_INT_VERSION);
cout << "ok" << endl;