X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fio%2Ffile.h;h=292897b5251a1710bc7802a9a9ae1c76914d7f55;hb=f832af5e832a5be2804e5613a73e7cc75428956c;hp=aeac6c8d265556974ddfee94febdb8ea5fd131b7;hpb=c8bf2d6c15893ccc9dbc4e04611b7229029f4808;p=libs%2Fcore.git diff --git a/source/io/file.h b/source/io/file.h index aeac6c8..292897b 100644 --- a/source/io/file.h +++ b/source/io/file.h @@ -4,7 +4,6 @@ #include #include #include "buffered.h" -#include "filtered.h" #include "handle.h" #include "seekable.h" @@ -15,14 +14,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; };