X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fcore%2Fsort%2Fmain.cpp;fp=example%2Fcore%2Fsort%2Fmain.cpp;h=f84b6f7205702b15ab359e23eb9e4d32555ce994;hp=5e7bcb07e729cca443e261cbd03434c46d5b369f;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/example/core/sort/main.cpp b/example/core/sort/main.cpp index 5e7bcb0..f84b6f7 100644 --- a/example/core/sort/main.cpp +++ b/example/core/sort/main.cpp @@ -15,12 +15,12 @@ using namespace std; struct Accesor { - static int value (int* i) throw () { return *i; } - static int value (const int* i) throw () { return *i; } + static int value (int* i) { return *i; } + static int value (const int* i) { return *i; } }; void run () - throw (RuntimeException) + noexcept(false) { int values [] = {