summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/exceptions/Collocated.cpp')
-rw-r--r--cpp/test/Ice/exceptions/Collocated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/exceptions/Collocated.cpp b/cpp/test/Ice/exceptions/Collocated.cpp
index c79ef8c989e..63a8fda6ccf 100644
--- a/cpp/test/Ice/exceptions/Collocated.cpp
+++ b/cpp/test/Ice/exceptions/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 ThrowerI(adapter);
adapter->add(object, "thrower");
- ThrowerPrx allTests(Ice::CommunicatorPtr);
+ ThrowerPrx allTests(const Ice::CommunicatorPtr&);
allTests(communicator);
return EXIT_SUCCESS;