Fix: HandleExeption assignment operator calls itself

This commit is contained in:
Alex Fabijanic 2014-06-09 03:05:25 -05:00
parent b287931057
commit 7a92e72bc8

View File

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