summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/messaging/amqp/DriverImpl.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2012-11-15 14:42:13 +0000
committerGordon Sim <gsim@apache.org>2012-11-15 14:42:13 +0000
commit2bce3b0dd247227bc5ff1dd3f17f6903c66e9cce (patch)
treeeae25c49739f31acdf30316651d7f6cf7e32d0de /cpp/src/qpid/messaging/amqp/DriverImpl.cpp
parent9fb307487ed47a807d409574f0f6c1c8ac5ac230 (diff)
downloadqpid-python-2bce3b0dd247227bc5ff1dd3f17f6903c66e9cce.tar.gz
QPID-4368: Fix 1.0 related client IO inline with changes for QPID-4272
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1409812 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/messaging/amqp/DriverImpl.cpp')
-rw-r--r--cpp/src/qpid/messaging/amqp/DriverImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/messaging/amqp/DriverImpl.cpp b/cpp/src/qpid/messaging/amqp/DriverImpl.cpp
index 0c119c87c8..16307b3c22 100644
--- a/cpp/src/qpid/messaging/amqp/DriverImpl.cpp
+++ b/cpp/src/qpid/messaging/amqp/DriverImpl.cpp
@@ -53,7 +53,7 @@ void DriverImpl::stop()
boost::shared_ptr<Transport> DriverImpl::getTransport(const std::string& protocol, TransportContext& connection)
{
boost::shared_ptr<Transport> t(Transport::create(protocol, connection, poller));
- if (!t) throw new qpid::messaging::ConnectionError("No such transport: " + protocol);
+ if (!t) throw qpid::messaging::ConnectionError("No such transport: " + protocol);
return t;
}