diff options
author | Marc Laukien <marc@zeroc.com> | 2001-09-16 20:11:25 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-09-16 20:11:25 +0000 |
commit | c4fc439d096dc506c503b5cecb2e9a3cf86f6276 (patch) | |
tree | 53e755a2c697eebc0163668a7390fd615cc2b968 /cpp/test/Ice/exceptions/Collocated.cpp | |
parent | fixes for windows (diff) | |
download | ice-c4fc439d096dc506c503b5cecb2e9a3cf86f6276.tar.bz2 ice-c4fc439d096dc506c503b5cecb2e9a3cf86f6276.tar.xz ice-c4fc439d096dc506c503b5cecb2e9a3cf86f6276.zip |
fixes
Diffstat (limited to 'cpp/test/Ice/exceptions/Collocated.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/Collocated.cpp | 4 |
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; |