From 13659cefe235ac0228749ba53e534910b9aae193 Mon Sep 17 00:00:00 2001 From: "Carl C. Trieloff" Date: Tue, 9 Jan 2007 19:44:50 +0000 Subject: Most of remaining version changes for C++. Still need to deal with AMQFrame defualt constructor and do some clean up here and there.. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@494540 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/tests/FramingTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/tests/FramingTest.cpp') diff --git a/qpid/cpp/tests/FramingTest.cpp b/qpid/cpp/tests/FramingTest.cpp index bc65891956..e4d289d3d5 100644 --- a/qpid/cpp/tests/FramingTest.cpp +++ b/qpid/cpp/tests/FramingTest.cpp @@ -120,7 +120,7 @@ class FramingTest : public CppUnit::TestCase { std::string a = "hostA"; std::string b = "hostB"; - AMQFrame in(999, new ConnectionRedirectBody(v, a, b)); + AMQFrame in(highestProtocolVersion, 999, new ConnectionRedirectBody(v, a, b)); in.encode(buffer); buffer.flip(); AMQFrame out; @@ -131,7 +131,7 @@ class FramingTest : public CppUnit::TestCase void testBasicConsumeOkBodyFrame() { std::string s = "hostA"; - AMQFrame in(999, new BasicConsumeOkBody(v, s)); + AMQFrame in(highestProtocolVersion, 999, new BasicConsumeOkBody(v, s)); in.encode(buffer); buffer.flip(); AMQFrame out; -- cgit v1.2.1