1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-20 10:17:05 +00:00

Add virtual destructor to ensure full clean-up.

This commit is contained in:
Thomas Harte
2025-11-26 17:37:03 -05:00
parent e861a50158
commit 94dffe2046
+2
View File
@@ -23,6 +23,8 @@ namespace Storage::FileBundle {
bundles in the future.
*/
struct FileBundle {
virtual ~FileBundle() {}
struct PermissionDelegate {
virtual void validate_open(FileBundle &, const std::string &, FileMode) = 0;
virtual void validate_erase(FileBundle &, const std::string &) = 0;