Browse Source

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

Brad King 18 năm trước cách đây
mục cha
commit
3d94b3b717
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);