]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/file.h
Modernize noexcept specifiers
[libs/core.git] / source / io / file.h
index f23cc93e7d013b71dc33cbe060cd83ce939fbe4a..106813144615f6767d1e1247432903505154ec48 100644 (file)
@@ -14,14 +14,12 @@ class file_not_found: public std::runtime_error
 {
 public:
        file_not_found(const std::string &fn): std::runtime_error(fn) { }
-       ~file_not_found() throw() override = default;
 };
 
 class file_already_exists: public std::runtime_error
 {
 public:
        file_already_exists(const std::string &fn): std::runtime_error(fn) { }
-       ~file_already_exists() throw() override = default;
 };