From 9f91aacc07d9cbc5f6c68b6c5c2dc5b841d4eee6 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 31 Aug 2008 19:56:52 +0000 Subject: (svn r14207) -Fix [FS#2262] (r14191): warning about non-virtual destructor in class with virtual functions. --- src/fileio_func.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/fileio_func.h b/src/fileio_func.h index 476e1afff..c0e777a9d 100644 --- a/src/fileio_func.h +++ b/src/fileio_func.h @@ -68,6 +68,9 @@ extern char *_personal_dir; ///< custom directory for personal settings, saves, class FileScanner { public: + /** Destruct the proper one... */ + virtual ~FileScanner() {} + uint Scan(const char *extension, Subdirectory sd, bool tars = true); /** -- cgit v1.2.3-70-g09d2