Remove dynamic exceptions
[anna.git] / source / core / mt / Mutex.cpp
index 92937e2..6b1b2a6 100644 (file)
@@ -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;