summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/Cluster.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-30 17:06:44 +0000
committerAlan Conway <aconway@apache.org>2007-08-30 17:06:44 +0000
commitfe3043fa600e1294631a324a39a9302938bf8016 (patch)
tree1f680ee6e6908ddd6afa1a53ad81f1415798fc6e /qpid/cpp/src/tests/Cluster.h
parentcfaa5d0d31a387cd0634b7498201d1620d905a46 (diff)
downloadqpid-python-fe3043fa600e1294631a324a39a9302938bf8016.tar.gz
- Update cluster code to work with new FrameHandler
- Update ClassifierHandler to use Visitor rather than map. - Replace heap allocation in cluster classes with boost::optional. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@571246 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/Cluster.h')
-rw-r--r--qpid/cpp/src/tests/Cluster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/Cluster.h b/qpid/cpp/src/tests/Cluster.h
index 366ea92a8b..d14d7c1392 100644
--- a/qpid/cpp/src/tests/Cluster.h
+++ b/qpid/cpp/src/tests/Cluster.h
@@ -58,7 +58,7 @@ typedef TestHandler<AMQFrame> TestFrameHandler;
struct TestCluster : public Cluster
{
TestCluster(string name, string url)
- : Cluster(name, url, make_shared_ptr(&received, nullDeleter)) {}
+ : Cluster(name, url, *(qpid::broker::Broker*)0) {}
/** Wait for cluster to be of size n. */
bool waitFor(size_t n) {