fixed GH #1418:Poco::Delegate assignment operator fails to compile for some specializations

This commit is contained in:
Guenter Obiltschnig 2016-09-20 20:48:36 +02:00
parent e87a8fe962
commit ad1be5fe87

View File

@ -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;
}