X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fio%2Ffunctions.cpp;h=590180a91feb6c2a77634a5286a165506fee7d4d;hp=47700ff9f89270985463c3f16b728cd4217c869a;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/io/functions.cpp b/source/io/functions.cpp index 47700ff..590180a 100644 --- a/source/io/functions.cpp +++ b/source/io/functions.cpp @@ -21,7 +21,7 @@ using namespace std; using namespace anna; void io::functions::mkdir(const std::string& path) -throw(RuntimeException) { +noexcept(false) { Tokenizer tokenizer; string w; int r; @@ -41,7 +41,7 @@ throw(RuntimeException) { } bool io::functions::exists(const char* path) -throw(RuntimeException) { +noexcept(false) { struct stat data; int r; anna_signal_shield(r, stat(path, &data)); @@ -56,7 +56,7 @@ throw(RuntimeException) { } bool io::functions::isADirectory(const char* path) -throw(RuntimeException) { +noexcept(false) { struct stat data; int r; anna_signal_shield(r, stat(path, &data)); @@ -68,7 +68,7 @@ throw(RuntimeException) { } ino_t io::functions::getINode(const char* path) -throw(RuntimeException) { +noexcept(false) { struct stat data; int r; anna_signal_shield(r, stat(path, &data)); @@ -81,7 +81,7 @@ throw(RuntimeException) { /*static*/ bool io::functions::waitInput(const int fd, const Millisecond &timeout) -throw(RuntimeException) { +noexcept(false) { pollfd waiting; int r; waiting.fd = fd;