X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fcore%2Frecycler%2Fmain.cpp;fp=example%2Fcore%2Frecycler%2Fmain.cpp;h=bba92531672a3acf10aed240d460db99a52ba3c4;hp=0aeb7bfb63f4905263ce3551fd3c9a1c9befb1d4;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/example/core/recycler/main.cpp b/example/core/recycler/main.cpp index 0aeb7bf..bba9253 100644 --- a/example/core/recycler/main.cpp +++ b/example/core/recycler/main.cpp @@ -29,7 +29,7 @@ void print_const (const Recycler& numbers) } void debug (const char* str, Recycler::iterator ii) - throw () + { int* p = Recycler::data (ii); @@ -41,7 +41,7 @@ void debug (const char* str, Recycler::iterator ii) } void run (const bool randomAccess, const int freeCounter) - throw (RuntimeException) + noexcept(false) { Recycler 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 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;