X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Ffile.h;fp=source%2Fio%2Ffile.h;h=36f37706a8432b35aed12f8772b9bd3958c7a78b;hp=aeac6c8d265556974ddfee94febdb8ea5fd131b7;hb=99b9121e2158603372c7313400283b622e6754d8;hpb=30ce69b5cb05712c3a4903b0f397912119c4f1f9 diff --git a/source/io/file.h b/source/io/file.h index aeac6c8..36f3770 100644 --- a/source/io/file.h +++ b/source/io/file.h @@ -15,14 +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() { } + virtual ~file_not_found() throw() = 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() { } + virtual ~file_already_exists() throw() = default; };