From f9f8d21e0ba5c9220de706aa97af2942c0de5386 Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Thu, 20 Nov 2014 11:36:26 +0100 Subject: [PATCH] fixed ParallelSocketAcceptor --- Net/include/Poco/Net/ParallelSocketAcceptor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Net/include/Poco/Net/ParallelSocketAcceptor.h b/Net/include/Poco/Net/ParallelSocketAcceptor.h index f8b9e616f..71533cc76 100644 --- a/Net/include/Poco/Net/ParallelSocketAcceptor.h +++ b/Net/include/Poco/Net/ParallelSocketAcceptor.h @@ -108,8 +108,9 @@ public: /// Sets the reactor for this acceptor. { _pReactor = &reactor; - if (!_pReactor->hasEventHandler(_socket, Poco::Observer(*this, &SocketAcceptor::onAccept))) + if (!_pReactor->hasEventHandler(_socket, + Poco::Observer(*this, &ParallelSocketAcceptor::onAccept))) { registerAcceptor(reactor); }