mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
fixed GH #1418:Poco::Delegate assignment operator fails to compile for some specializations
This commit is contained in:
parent
e87a8fe962
commit
ad1be5fe87
@ -128,7 +128,6 @@ public:
|
|||||||
{
|
{
|
||||||
if (&delegate != this)
|
if (&delegate != this)
|
||||||
{
|
{
|
||||||
this->_pTarget = delegate._pTarget;
|
|
||||||
this->_receiverObject = delegate._receiverObject;
|
this->_receiverObject = delegate._receiverObject;
|
||||||
this->_receiverMethod = delegate._receiverMethod;
|
this->_receiverMethod = delegate._receiverMethod;
|
||||||
}
|
}
|
||||||
@ -341,7 +340,6 @@ public:
|
|||||||
{
|
{
|
||||||
if (&delegate != this)
|
if (&delegate != this)
|
||||||
{
|
{
|
||||||
this->_pTarget = delegate._pTarget;
|
|
||||||
this->_receiverObject = delegate._receiverObject;
|
this->_receiverObject = delegate._receiverObject;
|
||||||
this->_receiverMethod = delegate._receiverMethod;
|
this->_receiverMethod = delegate._receiverMethod;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user