summaryrefslogtreecommitdiff
path: root/cpp/tests/InMemoryContentTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/tests/InMemoryContentTest.cpp')
-rw-r--r--cpp/tests/InMemoryContentTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/tests/InMemoryContentTest.cpp b/cpp/tests/InMemoryContentTest.cpp
index 64789ed836..bd638dae66 100644
--- a/cpp/tests/InMemoryContentTest.cpp
+++ b/cpp/tests/InMemoryContentTest.cpp
@@ -20,6 +20,7 @@
*/
#include <InMemoryContent.h>
#include <qpid_test_plugin.h>
+#include <AMQP_HighestVersion.h>
#include <iostream>
#include <list>
@@ -66,7 +67,7 @@ public:
u_int16_t channel = 3;
addframes(content, inCount, in);
- content.send(&handler, channel, framesize);
+ content.send(highestProtocolVersion, &handler, channel, framesize);
check(handler, channel, outCount, out);
}