diff options
| author | 2021-03-05 13:41:18 +0100 | |
|---|---|---|
| committer | 2021-03-05 13:41:18 +0100 | |
| commit | e0da4a9f27bed3ddd024a7f65dbca95ce0a53710 (patch) | |
| tree | 65d66088a9aa61e8832d84e81aa0a46f1c92a62f /src/lib | |
| parent | 1b108a48ab1fa360d3fea0814e0b639a17534e15 (diff) | |
C++ wart. Why can't the C++ standard say that the default destructor of a class that has inheritance or virtual methods is automatically virtual? But thou shalt is a little annoying
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/formats/fsmgr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/formats/fsmgr.h b/src/lib/formats/fsmgr.h index 356bdd0ebaa..ece7e6c3fcd 100644 --- a/src/lib/formats/fsmgr.h +++ b/src/lib/formats/fsmgr.h @@ -21,6 +21,8 @@ public: virtual void add_raw(const filesystem_manager_t *manager, const char *name, u32 key, const char *description) = 0; }; + virtual ~filesystem_manager_t() = default; + virtual void enumerate(floppy_enumerator &fe, uint32_t form_factor, const std::vector<uint32_t> &variants) const; // Floppy image initialization |
