summaryrefslogtreecommitdiff
path: root/cpp/tests/ChannelTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/tests/ChannelTest.cpp')
-rw-r--r--cpp/tests/ChannelTest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/tests/ChannelTest.cpp b/cpp/tests/ChannelTest.cpp
index e7a02d631d..b31ff6a321 100644
--- a/cpp/tests/ChannelTest.cpp
+++ b/cpp/tests/ChannelTest.cpp
@@ -27,7 +27,7 @@
#include <iostream>
#include <memory>
#include <AMQP_HighestVersion.h>
-
+#include "AMQFrame.h"
using namespace boost;
using namespace qpid::broker;
@@ -107,6 +107,9 @@ class ChannelTest : public CppUnit::TestCase
handle(call);
}
+ // Don't hide overloads.
+ using NullMessageStore::destroy;
+
void destroy(Message* msg)
{
MethodCall call = {"destroy", msg, ""};