diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-07-11 18:19:52 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-07-11 18:19:52 +0200 |
commit | 3184f261238e75470e18fd9441524eddcb4847df (patch) | |
tree | 6897211e132003d3605c386618d8643429df2671 /cpp/test/Ice/interceptor/Client.cpp | |
parent | Check for NodeJS to build/run JS tests (diff) | |
download | ice-3184f261238e75470e18fd9441524eddcb4847df.tar.bz2 ice-3184f261238e75470e18fd9441524eddcb4847df.tar.xz ice-3184f261238e75470e18fd9441524eddcb4847df.zip |
Fixed C++11 issue with previous Ice/interceptor test fix
Diffstat (limited to 'cpp/test/Ice/interceptor/Client.cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/Client.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/interceptor/Client.cpp b/cpp/test/Ice/interceptor/Client.cpp index dc93891e819..d47dc7abc22 100644 --- a/cpp/test/Ice/interceptor/Client.cpp +++ b/cpp/test/Ice/interceptor/Client.cpp @@ -35,7 +35,7 @@ private: void runTest(const Test::MyObjectPrxPtr&, const InterceptorIPtr&); void runAmdTest(const Test::MyObjectPrxPtr&, const AMDInterceptorIPtr&); - void testInterceptorExceptions(const Test::MyObjectPrx&); + void testInterceptorExceptions(const Test::MyObjectPrxPtr&); }; void @@ -246,7 +246,7 @@ Client::runAmdTest(const Test::MyObjectPrxPtr& prx, const AMDInterceptorIPtr& in } void -Client::testInterceptorExceptions(const Test::MyObjectPrx& prx) +Client::testInterceptorExceptions(const Test::MyObjectPrxPtr& prx) { vector<pair<string, string> > exceptions; exceptions.push_back(make_pair("raiseBeforeDispatch", "user")); @@ -281,7 +281,7 @@ Client::testInterceptorExceptions(const Test::MyObjectPrx& prx) test(p->second == "system"); // collocated } { - Ice::ObjectPrx batch = prx->ice_batchOneway(); + Ice::ObjectPrxPtr batch = prx->ice_batchOneway(); batch->ice_ping(ctx); batch->ice_ping(); batch->ice_flushBatchRequests(); |