From b5f5223e667ba20bd0a179ee5d7f2ff04fe61c18 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 22 Apr 2016 22:07:12 +0100 Subject: FileHandle needs a virtual destructor --- gentoobrowse-api/service/fileUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoobrowse-api/service/fileUtils.h b/gentoobrowse-api/service/fileUtils.h index b447c4d..51c2875 100644 --- a/gentoobrowse-api/service/fileUtils.h +++ b/gentoobrowse-api/service/fileUtils.h @@ -13,7 +13,7 @@ namespace Gentoo { class FileHandle { public: FileHandle(const boost::filesystem::path & path); - ~FileHandle(); + virtual ~FileHandle(); protected: const int fh; -- cgit v1.2.3