summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-08 16:42:29 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-08 16:42:29 (GMT)
commit96bb8da184acd7557b05d7f1bb4ca10ae39be82e (patch)
treed4015c2ed2199321dae8b0fb4f0cc3d22b55ab56 /Source
parent93c0384f48899d2443a37027dc843d98ea28cd05 (diff)
downloadCMake-96bb8da184acd7557b05d7f1bb4ca10ae39be82e.zip
CMake-96bb8da184acd7557b05d7f1bb4ca10ae39be82e.tar.gz
CMake-96bb8da184acd7557b05d7f1bb4ca10ae39be82e.tar.bz2
COMP: less warnings
Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/cmExternalMakefileProjectGenerator.h3
-rw-r--r--Source/cmGlobalGenerator.h2
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);