summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2012-05-01 18:36:18 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2012-05-01 18:36:18 (GMT)
commita86cd33cdd497acdb6b77a44c146a9779730675e (patch)
treeafdc0bb70f4a6f7bbb20d5f9ce1e4a4783c35c05 /Source
parent319eeb0247f51bb2d380261ce7d63c7ce5020ed0 (diff)
downloadCMake-a86cd33cdd497acdb6b77a44c146a9779730675e.zip
CMake-a86cd33cdd497acdb6b77a44c146a9779730675e.tar.gz
CMake-a86cd33cdd497acdb6b77a44c146a9779730675e.tar.bz2
Add virutal destructor to silence warning.
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmParseMumpsCoverage.cxx4
-rw-r--r--Source/CTest/cmParseMumpsCoverage.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmParseMumpsCoverage.cxx b/Source/CTest/cmParseMumpsCoverage.cxx
index 359b5ac..761139f 100644
--- a/Source/CTest/cmParseMumpsCoverage.cxx
+++ b/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:
diff --git a/Source/CTest/cmParseMumpsCoverage.h b/Source/CTest/cmParseMumpsCoverage.h
index 63883de..81180ee 100644
--- a/Source/CTest/cmParseMumpsCoverage.h
+++ b/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);