Remove dynamic exceptions
[anna.git] / example / core / recycler / main.cpp
index 0aeb7bf..bba9253 100644 (file)
@@ -29,7 +29,7 @@ void print_const (const Recycler<int>& numbers)
 }
 
 void debug (const char* str, Recycler<int>::iterator ii)
-   throw ()
+   
 {
    int* p = Recycler<int>::data (ii);
 
@@ -41,7 +41,7 @@ void debug (const char* str, Recycler<int>::iterator ii)
 }
 
 void run (const bool randomAccess, const int freeCounter) 
-   throw (RuntimeException)
+   noexcept(false)
 {
    Recycler <int> numbers (randomAccess);
    int* p;
@@ -92,7 +92,7 @@ void run (const bool randomAccess, const int freeCounter)
 }
 
 void recycling (const bool randomAccess, const int freeCounter)
-   throw (RuntimeException)
+   noexcept(false)
 {
    Recycler <int> numbers (randomAccess);
    int** pp;
@@ -118,7 +118,7 @@ void recycling (const bool randomAccess, const int freeCounter)
 }
 
 void reuse (const int freeCounter)
-   throw (RuntimeException)
+   noexcept(false)
 {
    int** pp;
    int* p;