]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/file.h
Add no-throw destructors to exception classes that were lacking one
[libs/core.git] / source / io / file.h
index 5fb0353211b2e99d23384afa2924e87ee78acc10..90a1041ccda6520db5386b724f43fe6e936bfe85 100644 (file)
@@ -15,12 +15,14 @@ class file_not_found: public std::runtime_error
 {
 public:
        file_not_found(const std::string &fn): std::runtime_error(fn) { }
+       ~file_not_found() throw() { }
 };
 
 class file_already_exists: public std::runtime_error
 {
 public:
        file_already_exists(const std::string &fn): std::runtime_error(fn) { }
+       ~file_already_exists() throw() { }
 };