summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-06-06 20:26:52 +0000
committerAlan Conway <aconway@apache.org>2007-06-06 20:26:52 +0000
commitfca1397c9ee37e92b57fd419186182cbec567435 (patch)
tree1ba9d0bf25f5aee03e9ba8c4dc7d4d6157cd6b39 /cpp/src/tests
parent70a3cdf33b3e38ee26ee2840a55f83ebd26589b4 (diff)
downloadqpid-python-fca1397c9ee37e92b57fd419186182cbec567435.tar.gz
Made FieldTable argument of client::Channel::bind() optional.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@544938 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rw-r--r--cpp/src/tests/client_test.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/tests/client_test.cpp b/cpp/src/tests/client_test.cpp
index d1fc261931..a05c01043f 100644
--- a/cpp/src/tests/client_test.cpp
+++ b/cpp/src/tests/client_test.cpp
@@ -34,7 +34,6 @@
#include "qpid/client/ClientMessage.h"
#include "qpid/client/MessageListener.h"
#include "qpid/sys/Monitor.h"
-#include "qpid/framing/FieldTable.h"
using namespace qpid::client;
using namespace qpid::sys;
@@ -90,8 +89,7 @@ int main(int argc, char**)
if (verbose) std::cout << "Declared queue." << std::endl;
//now bind the queue to the exchange
- qpid::framing::FieldTable args;
- channel.bind(exchange, queue, "MyTopic", args);
+ channel.bind(exchange, queue, "MyTopic");
if (verbose) std::cout << "Bound queue to exchange." << std::endl;
//Set up a message listener to receive any messages that