diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-06-08 16:42:29 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-06-08 16:42:29 (GMT) |
commit | 96bb8da184acd7557b05d7f1bb4ca10ae39be82e (patch) | |
tree | d4015c2ed2199321dae8b0fb4f0cc3d22b55ab56 | |
parent | 93c0384f48899d2443a37027dc843d98ea28cd05 (diff) | |
download | CMake-96bb8da184acd7557b05d7f1bb4ca10ae39be82e.zip CMake-96bb8da184acd7557b05d7f1bb4ca10ae39be82e.tar.gz CMake-96bb8da184acd7557b05d7f1bb4ca10ae39be82e.tar.bz2 |
COMP: less warnings
Alex
-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); |