Selaa lähdekoodia

Add virutal destructor to silence warning.

Bill Hoffman 13 vuotta sitten
vanhempi
sitoutus
a86cd33cdd
2 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 4 0
      Source/CTest/cmParseMumpsCoverage.cxx
  2. 1 0
      Source/CTest/cmParseMumpsCoverage.h

+ 4 - 0
Source/CTest/cmParseMumpsCoverage.cxx

@@ -14,6 +14,10 @@ cmParseMumpsCoverage::cmParseMumpsCoverage(
 {
 }
 
+cmParseMumpsCoverage::~cmParseMumpsCoverage()
+{
+}
+
 bool cmParseMumpsCoverage::ReadCoverageFile(const char* file)
 {
   // Read the gtm_coverage.mcov file, that has two lines of data:

+ 1 - 0
Source/CTest/cmParseMumpsCoverage.h

@@ -27,6 +27,7 @@ class cmParseMumpsCoverage
 public:
   cmParseMumpsCoverage(cmCTestCoverageHandlerContainer& cont,
     cmCTest* ctest);
+  virtual ~cmParseMumpsCoverage();
   // This is the toplevel coverage file locating the coverage files
   // and the mumps source code package tree.
   bool ReadCoverageFile(const char* file);