X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcore%2Fmt%2FMutex.cpp;fp=source%2Fcore%2Fmt%2FMutex.cpp;h=6b1b2a66c2e478094b5da53c2240cd8f4acdb15d;hp=92937e238e16a134d8f788fdf3d446c084671a5c;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/core/mt/Mutex.cpp b/source/core/mt/Mutex.cpp index 92937e2..6b1b2a6 100644 --- a/source/core/mt/Mutex.cpp +++ b/source/core/mt/Mutex.cpp @@ -36,7 +36,7 @@ Mutex::~Mutex() { } void Mutex::lock() -throw(RuntimeException) { +noexcept(false) { #ifdef _MT int errorCode; @@ -47,7 +47,7 @@ throw(RuntimeException) { } void Mutex::unlock() -throw() { +{ #ifdef _MT int errorCode; @@ -62,7 +62,7 @@ throw() { } bool Mutex::trylock() -throw(RuntimeException) { +noexcept(false) { #ifdef _MT int errorCode;