From ad1be5fe87a5cc14f602f368b86dd71b080f7f7b Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Tue, 20 Sep 2016 20:48:36 +0200 Subject: [PATCH] fixed GH #1418:Poco::Delegate assignment operator fails to compile for some specializations --- Foundation/include/Poco/Delegate.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Foundation/include/Poco/Delegate.h b/Foundation/include/Poco/Delegate.h index eaed9c3e3..1a6a315e6 100644 --- a/Foundation/include/Poco/Delegate.h +++ b/Foundation/include/Poco/Delegate.h @@ -128,7 +128,6 @@ public: { if (&delegate != this) { - this->_pTarget = delegate._pTarget; this->_receiverObject = delegate._receiverObject; this->_receiverMethod = delegate._receiverMethod; } @@ -341,7 +340,6 @@ public: { if (&delegate != this) { - this->_pTarget = delegate._pTarget; this->_receiverObject = delegate._receiverObject; this->_receiverMethod = delegate._receiverMethod; }