Remove dynamic exceptions
[anna.git] / source / core / mt / Runnable.cpp
index 582c264..1570dbd 100644 (file)
@@ -13,13 +13,13 @@ using namespace std;
 using namespace anna;
 
 void Runnable::requestStop()
-throw(RuntimeException) {
+noexcept(false) {
   if(a_isRunning == true)
     a_requestedStop = true;
 }
 
 void Runnable::run()
-throw(RuntimeException) {
+noexcept(false) {
   a_requestedStop = false;
 
   while(hasRequestedStop() == false) {