summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-01-25 13:40:22 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-01-25 13:40:22 +0000
commit1cb5ba00b64d234bd305c39dcaf4b8c7f4ebcbd6 (patch)
treea3ae3a49b25884281efd2f33231346d48f9291f5 /cpp
parentFixed stl error wityh empty sequences (diff)
downloadice-1cb5ba00b64d234bd305c39dcaf4b8c7f4ebcbd6.tar.bz2
ice-1cb5ba00b64d234bd305c39dcaf4b8c7f4ebcbd6.tar.xz
ice-1cb5ba00b64d234bd305c39dcaf4b8c7f4ebcbd6.zip
Fix
Diffstat (limited to 'cpp')
-rw-r--r--cpp/test/IceGrid/activation/AllTests.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/test/IceGrid/activation/AllTests.cpp b/cpp/test/IceGrid/activation/AllTests.cpp
index e6ff3dc561f..ddae59b6b4a 100644
--- a/cpp/test/IceGrid/activation/AllTests.cpp
+++ b/cpp/test/IceGrid/activation/AllTests.cpp
@@ -47,7 +47,7 @@ public:
notifyAll();
}
- virtual auto_ptr<Ice::LocalException>
+ auto_ptr<Ice::LocalException>
waitUntilFinished()
{
Lock sync(*this);
@@ -296,7 +296,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
}
for(p = threads.begin(); p != threads.end(); ++p)
{
- auto_ptr<Ice::LocalException> ex = (*p)->waitUntilFinished();
+ auto_ptr<Ice::LocalException> ex((*p)->waitUntilFinished());
test(dynamic_cast<Ice::NoEndpointException*>(ex.get()));
}
threads.resize(0);
@@ -312,7 +312,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
}
for(p = threads.begin(); p != threads.end(); ++p)
{
- auto_ptr<Ice::LocalException> ex = (*p)->waitUntilFinished();
+ auto_ptr<Ice::LocalException> ex((*p)->waitUntilFinished());
test(dynamic_cast<Ice::NoEndpointException*>(ex.get()));
}
threads.resize(0);
@@ -328,7 +328,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
}
for(p = threads.begin(); p != threads.end(); ++p)
{
- auto_ptr<Ice::LocalException> ex = (*p)->waitUntilFinished();
+ auto_ptr<Ice::LocalException> ex((*p)->waitUntilFinished());
test(dynamic_cast<Ice::NoEndpointException*>(ex.get()));
}
threads.resize(0);
@@ -361,7 +361,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
}
for(p = threads.begin(); p != threads.end(); ++p)
{
- auto_ptr<Ice::LocalException> ex = (*p)->waitUntilFinished();
+ auto_ptr<Ice::LocalException> ex((*p)->waitUntilFinished());
test(dynamic_cast<Ice::NoEndpointException*>(ex.get()));
}
admin->stopServer("server-activation-timeout");