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 | 34dca36726275829de4f6201b10660b060db1f5d (patch) | |
| tree | 4034680825514332dd6ff96e8b58f1a8f0cc0e05 | |
| parent | File handle stuff should accept path args, not strings (diff) | |
| download | gentoobrowse-api-34dca36726275829de4f6201b10660b060db1f5d.tar.bz2 gentoobrowse-api-34dca36726275829de4f6201b10660b060db1f5d.tar.xz gentoobrowse-api-34dca36726275829de4f6201b10660b060db1f5d.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;  | 
