build: fix compiler and cmake warnings

added missing virtual destructor
fixed a warning in token.h: expression with side effects will be evaluated despite being used as an operand to 'typeid'
CMP00043 Cmake warning
added missing override keyword
This commit is contained in:
Andreas Stallinger
2015-08-18 14:43:32 +02:00
parent d8489c0b04
commit fb877e1304
11 changed files with 36 additions and 15 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class FileManager
{
public:
FileManager();
~FileManager();
virtual ~FileManager();
const std::vector<FilePath>& getSourcePaths() const;
const std::vector<FilePath>& getIncludePaths() const;