summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-04-22 22:07:12 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-04-25 21:27:49 +0100
commitb5f5223e667ba20bd0a179ee5d7f2ff04fe61c18 (patch)
tree4034680825514332dd6ff96e8b58f1a8f0cc0e05
parentFile handle stuff should accept path args, not strings (diff)
downloadgentoobrowse-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.h2
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;