mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 23:42:32 +00:00
Noux: add virtual '~Vfs_handle()' destructor
This patch adds a virtual destructor to the 'Vfs_handle' class to have subclass destructors called on 'destroy()' on a base class pointer. Fixes #305.
This commit is contained in:
parent
c708a28eff
commit
6c68850524
@ -93,6 +93,8 @@ namespace Noux {
|
||||
_seek(0)
|
||||
{ }
|
||||
|
||||
virtual ~Vfs_handle() { }
|
||||
|
||||
Directory_service *ds() { return _ds; }
|
||||
File_io_service *fs() { return _fs; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user