mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-06 00:31:10 +01:00
Fix: HandleExeption assignment operator calls itself
This commit is contained in:
parent
b287931057
commit
7a92e72bc8
@ -86,7 +86,8 @@ public:
|
|||||||
HandleException& operator = (const HandleException& exc)
|
HandleException& operator = (const HandleException& exc)
|
||||||
/// Assignment operator
|
/// Assignment operator
|
||||||
{
|
{
|
||||||
HandleException::operator = (exc);
|
if (&exc != this) _error = exc._error;
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user