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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user