summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/Cluster.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/Cluster.h')
-rw-r--r--qpid/cpp/src/tests/Cluster.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/Cluster.h b/qpid/cpp/src/tests/Cluster.h
index c2909e0c1b..e896fccafe 100644
--- a/qpid/cpp/src/tests/Cluster.h
+++ b/qpid/cpp/src/tests/Cluster.h
@@ -64,9 +64,9 @@ class TestHandler : public Handler<T&>, public vector<T>
Mutex::ScopedLock l(lock);
BOOST_MESSAGE(getpid()<<" TestHandler::waitFor("<<n<<") "<<this->size());
AbsTime deadline(now(), 2*TIME_SEC);
- while (vector<T>::size() < n && lock.wait(deadline))
+ while (this->size() < n && lock.wait(deadline))
;
- return vector<T>::size() >= n;
+ return this->size() >= n;
}
};