diff options
Diffstat (limited to 'qpid/cpp/tests')
| -rw-r--r-- | qpid/cpp/tests/BrokerChannelTest.cpp | 2 | ||||
| -rw-r--r-- | qpid/cpp/tests/InProcessBroker.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/tests/BrokerChannelTest.cpp b/qpid/cpp/tests/BrokerChannelTest.cpp index 9216ae4672..8717be07b5 100644 --- a/qpid/cpp/tests/BrokerChannelTest.cpp +++ b/qpid/cpp/tests/BrokerChannelTest.cpp @@ -146,7 +146,7 @@ class BrokerChannelTest : public CppUnit::TestCase broker(Broker::create()), connection(&handler, *broker) { - connection.initiated(new ProtocolInitiation()); + connection.initiated(ProtocolInitiation()); } diff --git a/qpid/cpp/tests/InProcessBroker.h b/qpid/cpp/tests/InProcessBroker.h index 833b821d11..e2b426347b 100644 --- a/qpid/cpp/tests/InProcessBroker.h +++ b/qpid/cpp/tests/InProcessBroker.h @@ -85,7 +85,7 @@ class InProcessBroker : public client::Connector { ~InProcessBroker() { broker->shutdown(); } void connect(const std::string& /*host*/, int /*port*/) {} - void init() { brokerConnection.initiated(&protocolInit); } + void init() { brokerConnection.initiated(protocolInit); } void close() {} /** Client's input handler. */ |
