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:
Christian Prochaska 2012-07-27 14:57:02 +02:00 committed by Norman Feske
parent c708a28eff
commit 6c68850524

View File

@ -93,6 +93,8 @@ namespace Noux {
_seek(0)
{ }
virtual ~Vfs_handle() { }
Directory_service *ds() { return _ds; }
File_io_service *fs() { return _fs; }