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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/tests/ChannelTest.cpp b/cpp/tests/ChannelTest.cpp
index dcfd2fdb90..60157834bd 100644
--- a/cpp/tests/ChannelTest.cpp
+++ b/cpp/tests/ChannelTest.cpp
@@ -264,7 +264,7 @@ class ChannelTest : public CppUnit::TestCase
contentSize += data[i].size();
}
header->setContentSize(contentSize);
- channel.handlePublish(msg, exchange);
+ channel.handlePublish(msg);
channel.handleHeader(header);
for (int i = 0; i < 3; i++) {