summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Connection.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-06-09 20:55:09 +0000
committerAlan Conway <aconway@apache.org>2008-06-09 20:55:09 +0000
commit03a39d920d010b29b156a99ee9b3fcfc7c7c64a1 (patch)
tree0959d63de389bd08fcb5d074eb5a0712a1db24a8 /cpp/src/qpid/client/Connection.cpp
parent31a74cd4a5c849b134a172cc5e6ce2e2a447e5e5 (diff)
downloadqpid-python-03a39d920d010b29b156a99ee9b3fcfc7c7c64a1.tar.gz
Updated doxygen comments in qpid/client/*.h
Changed request-response example to use SubscriptionManager like the others. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@665891 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Connection.cpp')
-rw-r--r--cpp/src/qpid/client/Connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/Connection.cpp b/cpp/src/qpid/client/Connection.cpp
index 752cb9095c..6572794516 100644
--- a/cpp/src/qpid/client/Connection.cpp
+++ b/cpp/src/qpid/client/Connection.cpp
@@ -27,6 +27,7 @@
#include "qpid/log/Options.h"
#include "qpid/log/Statement.h"
#include "qpid/shared_ptr.h"
+#include "qpid/framing/AMQP_HighestVersion.h"
#include <algorithm>
#include <iostream>
@@ -42,8 +43,7 @@ using namespace qpid::sys;
namespace qpid {
namespace client {
-Connection::Connection(framing::ProtocolVersion _version) :
- channelIdCounter(0), version(_version) {}
+Connection::Connection() : channelIdCounter(0), version(framing::highestProtocolVersion) {}
Connection::~Connection(){ }