From da6e2b9f62966ef7d0cb69f58ffe1365af98d676 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 29 Oct 2007 21:14:44 +0000 Subject: client/BlockingQueue.h, sys/ConcurrentQueue.h: merged to sys/BlockingQueue.h - updated all users qpid/Exception.h: Removed unimplemented clone() function. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@589857 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/Cluster.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cpp/src/tests/Cluster.h') diff --git a/cpp/src/tests/Cluster.h b/cpp/src/tests/Cluster.h index d14d7c1392..6ff5c21fdb 100644 --- a/cpp/src/tests/Cluster.h +++ b/cpp/src/tests/Cluster.h @@ -20,7 +20,7 @@ */ #include "qpid/cluster/Cluster.h" -#include "qpid/sys/ConcurrentQueue.h" +#include "qpid/sys/BlockingQueue.h" #include "qpid/framing/AMQFrame.h" #include @@ -45,12 +45,10 @@ using namespace boost; void null_deleter(void*) {} template -class TestHandler : public Handler, public ConcurrentQueue +class TestHandler : public Handler, public BlockingQueue { public: void handle(T& frame) { push(frame); } - bool waitPop(T& x) { return waitPop(x, TIME_SEC); } - using ConcurrentQueue::waitPop; }; typedef TestHandler TestFrameHandler; -- cgit v1.2.1