Alexander Neundorf 18 лет назад
Родитель
Сommit
96bb8da184
2 измененных файлов с 4 добавлено и 1 удалено
  1. 3 0
      Source/cmExternalMakefileProjectGenerator.h
  2. 1 1
      Source/cmGlobalGenerator.h

+ 3 - 0
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.  */

+ 1 - 1
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);