From 4e485d80018badb68d18cfb20886dd97f18ae7b1 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 8 Apr 2010 04:53:26 +0000 Subject: Improved fix for to create client library Poller. Improved because it is now created at first need rather than library load. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931781 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/Connection.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/client/Connection.cpp') diff --git a/cpp/src/qpid/client/Connection.cpp b/cpp/src/qpid/client/Connection.cpp index 32a01b2c40..d8ffb6d9e1 100644 --- a/cpp/src/qpid/client/Connection.cpp +++ b/cpp/src/qpid/client/Connection.cpp @@ -45,7 +45,10 @@ using namespace qpid::sys; namespace qpid { namespace client { -Connection::Connection() : version(framing::highestProtocolVersion) {} +Connection::Connection() : version(framing::highestProtocolVersion) +{ + ConnectionImpl::init(); +} Connection::~Connection() {} -- cgit v1.2.1