diff options
author | Benoit Foucher <benoit@zeroc.com> | 2018-05-30 14:19:54 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2018-05-30 14:19:54 +0200 |
commit | 409287be04be4003a13bf7012398ffac8f447ee8 (patch) | |
tree | 148f89f4da9babeca3c499b4bcc3bcd793c5fa37 /cpp | |
parent | Fixed Ice/location locator cache timeout sporadic failure (diff) | |
download | ice-409287be04be4003a13bf7012398ffac8f447ee8.tar.bz2 ice-409287be04be4003a13bf7012398ffac8f447ee8.tar.xz ice-409287be04be4003a13bf7012398ffac8f447ee8.zip |
Fixed C++11 build issue with Ice/location test
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/Ice/location/AllTests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/location/AllTests.cpp b/cpp/test/Ice/location/AllTests.cpp index f5d2c37e670..0dd99ef0e48 100644 --- a/cpp/test/Ice/location/AllTests.cpp +++ b/cpp/test/Ice/location/AllTests.cpp @@ -276,7 +276,7 @@ allTests(const Ice::CommunicatorPtr& communicator, const string& ref) cout << "testing locator cache timeout... " << flush; int count = locator->getRequestCount(); - Ice::ObjectPrx basencc = communicator->stringToProxy("test@TestAdapter")->ice_connectionCached(false); + Ice::ObjectPrxPtr basencc = communicator->stringToProxy("test@TestAdapter")->ice_connectionCached(false); basencc->ice_locatorCacheTimeout(0)->ice_ping(); // No locator cache. test(++count == locator->getRequestCount()); basencc->ice_locatorCacheTimeout(0)->ice_ping(); // No locator cache. |