diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-22 22:07:12 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-25 21:27:49 +0100 |
commit | b5f5223e667ba20bd0a179ee5d7f2ff04fe61c18 (patch) | |
tree | 4034680825514332dd6ff96e8b58f1a8f0cc0e05 | |
parent | File handle stuff should accept path args, not strings (diff) | |
download | gentoobrowse-api-b5f5223e667ba20bd0a179ee5d7f2ff04fe61c18.tar.bz2 gentoobrowse-api-b5f5223e667ba20bd0a179ee5d7f2ff04fe61c18.tar.xz gentoobrowse-api-b5f5223e667ba20bd0a179ee5d7f2ff04fe61c18.zip |
FileHandle needs a virtual destructor
-rw-r--r-- | gentoobrowse-api/service/fileUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |