diff --git a/IlmBase/Iex/IexBaseExc.cpp b/IlmBase/Iex/IexBaseExc.cpp index 42943a9928..2b0f56a89d 100644 --- a/IlmBase/Iex/IexBaseExc.cpp +++ b/IlmBase/Iex/IexBaseExc.cpp @@ -117,6 +117,8 @@ BaseExc::operator = (const BaseExc& be) throw () _message = be._message; _stackTrace = be._stackTrace; } + + return *this; } BaseExc & @@ -127,6 +129,7 @@ BaseExc::operator = (BaseExc&& be) throw () _message = std::move (be._message); _stackTrace = std::move (be._stackTrace); } + return *this; } const char *