summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/TCPIOPlugin.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-10-16 18:47:47 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-10-16 18:47:47 +0000
commit18b24ce73d0740ad7df97ccca6cec5e2ba9d3ec2 (patch)
treee7124e5e295a79d2c2518bbf9d5d3a161bdba39a /cpp/src/qpid/sys/TCPIOPlugin.cpp
parent2b04bc6dc46b3f761a239f41032258eb1d345fbf (diff)
downloadqpid-python-18b24ce73d0740ad7df97ccca6cec5e2ba9d3ec2.tar.gz
Rationalised AsynchConnector/Acceptor/IO to all use the same code structure
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826032 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/TCPIOPlugin.cpp')
-rw-r--r--cpp/src/qpid/sys/TCPIOPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/TCPIOPlugin.cpp b/cpp/src/qpid/sys/TCPIOPlugin.cpp
index d51893374a..39ae12c189 100644
--- a/cpp/src/qpid/sys/TCPIOPlugin.cpp
+++ b/cpp/src/qpid/sys/TCPIOPlugin.cpp
@@ -114,7 +114,7 @@ std::string AsynchIOProtocolFactory::getHost() const {
void AsynchIOProtocolFactory::accept(Poller::shared_ptr poller,
ConnectionCodec::Factory* fact) {
acceptor.reset(
- new AsynchAcceptor(listener,
+ AsynchAcceptor::create(listener,
boost::bind(&AsynchIOProtocolFactory::established, this, poller, _1, fact, false)));
acceptor->start(poller);
}