summaryrefslogtreecommitdiff
path: root/cpp/src/tests/Cluster.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/Cluster.h')
-rw-r--r--cpp/src/tests/Cluster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/Cluster.h b/cpp/src/tests/Cluster.h
index 366ea92a8b..d14d7c1392 100644
--- a/cpp/src/tests/Cluster.h
+++ b/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) {