diff options
-rw-r--r-- | Source/cmExternalMakefileProjectGenerator.h | 3 | ||||
-rw-r--r-- | Source/cmGlobalGenerator.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmExternalMakefileProjectGenerator.h b/Source/cmExternalMakefileProjectGenerator.h index 48db289..c9cedde 100644 --- a/Source/cmExternalMakefileProjectGenerator.h +++ b/Source/cmExternalMakefileProjectGenerator.h @@ -39,6 +39,9 @@ class cmGlobalGenerator; class cmExternalMakefileProjectGenerator { public: + + virtual ~cmExternalMakefileProjectGenerator() {} + ///! Get the name for this generator. virtual const char* GetName() const = 0; /** Get the documentation entry for this generator. */ diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 96333a2..929069a 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -138,7 +138,7 @@ public: bool GetForceUnixPaths() {return this->ForceUnixPaths;} bool GetToolSupportsColor() { return this->ToolSupportsColor; } - bool SetToolSupportsColor(bool enable) { this->ToolSupportsColor = enable; } + void SetToolSupportsColor(bool enable) { this->ToolSupportsColor = enable; } ///! return the language for the given extension const char* GetLanguageFromExtension(const char* ext); |