summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/operations/Collocated.cpp')
-rw-r--r--cpp/test/Ice/operations/Collocated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/operations/Collocated.cpp b/cpp/test/Ice/operations/Collocated.cpp
index aa71e68397b..a266c7bdf0b 100644
--- a/cpp/test/Ice/operations/Collocated.cpp
+++ b/cpp/test/Ice/operations/Collocated.cpp
@@ -14,14 +14,14 @@
using namespace std;
int
-run(int argc, char* argv[], Ice::CommunicatorPtr communicator)
+run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
string endpts("tcp -p 12345 -t 2000");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapterWithEndpoints("TestAdapter", endpts);
Ice::ObjectPtr object = new MyDerivedClassI(adapter, "test");
adapter->add(object, "test");
- Test::MyClassPrx allTests(Ice::CommunicatorPtr);
+ Test::MyClassPrx allTests(const Ice::CommunicatorPtr&);
allTests(communicator);
return EXIT_SUCCESS;