diff --git a/mex/sources/bytecode/ErrorHandling.hh b/mex/sources/bytecode/ErrorHandling.hh index 0df688648..a37a2813a 100644 --- a/mex/sources/bytecode/ErrorHandling.hh +++ b/mex/sources/bytecode/ErrorHandling.hh @@ -30,6 +30,7 @@ #define _USE_MATH_DEFINES #include +#include #ifndef M_PI # define M_PI (3.14159265358979323846) #endif @@ -165,7 +166,7 @@ public: FreeLibrary(hinstLib); }; #endif - GeneralExceptionHandling(string ErrorMsg_arg) : ErrorMsg(ErrorMsg_arg) + GeneralExceptionHandling(string ErrorMsg_arg) : ErrorMsg{move(ErrorMsg_arg)} { }; inline string