Browse Source

COMP: Add virtual destructor to cmExportFileGenerator to avoid warnings about other virtual functions.

Brad King 18 years ago
parent
commit
3d94b3b717
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/cmExportFileGenerator.h

+ 2 - 0
Source/cmExportFileGenerator.h

@@ -30,6 +30,8 @@
 class cmExportFileGenerator
 {
 public:
+  virtual ~cmExportFileGenerator() {}
+
   /** Set the full path to the export file to generate.  */
   void SetExportFile(const char* mainFile);