]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/file.h
Remove the broken IO::Filtered class
[libs/core.git] / source / io / file.h
index aeac6c8d265556974ddfee94febdb8ea5fd131b7..292897b5251a1710bc7802a9a9ae1c76914d7f55 100644 (file)
@@ -4,7 +4,6 @@
 #include <stdexcept>
 #include <string>
 #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;
 };