summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-05-30 14:19:54 +0200
committerBenoit Foucher <benoit@zeroc.com>2018-05-30 14:19:54 +0200
commit409287be04be4003a13bf7012398ffac8f447ee8 (patch)
tree148f89f4da9babeca3c499b4bcc3bcd793c5fa37 /cpp
parentFixed Ice/location locator cache timeout sporadic failure (diff)
downloadice-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.cpp2
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.