summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/faultTolerance/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/faultTolerance/Client.cpp')
-rw-r--r--cpp/test/Ice/faultTolerance/Client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/faultTolerance/Client.cpp b/cpp/test/Ice/faultTolerance/Client.cpp
index a5c488e9486..fcedc08778c 100644
--- a/cpp/test/Ice/faultTolerance/Client.cpp
+++ b/cpp/test/Ice/faultTolerance/Client.cpp
@@ -21,7 +21,7 @@ usage(const char* n)
}
int
-run(int argc, char* argv[], Ice::CommunicatorPtr communicator)
+run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
vector<int> ports;
for (int i = 1; i < argc; ++i)
@@ -43,7 +43,7 @@ run(int argc, char* argv[], Ice::CommunicatorPtr communicator)
return EXIT_FAILURE;
}
- void allTests(Ice::CommunicatorPtr, const vector<int>&);
+ void allTests(const Ice::CommunicatorPtr, const vector<int>&&);
allTests(communicator, ports);
return EXIT_SUCCESS;
}