diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-06 19:27:02 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-06 19:27:02 (GMT) |
commit | 38b68bcd783a9e57aa2752d9dde986d92883f1aa (patch) | |
tree | 90b390fca6eef3f036dcc47aa4c89b2e9d595540 /Source/CTest/cmCTestCoverageHandler.h | |
parent | 2a7e0e7ad46903fd64a28aa7828bd5bd7ebd8fe3 (diff) | |
download | CMake-38b68bcd783a9e57aa2752d9dde986d92883f1aa.zip CMake-38b68bcd783a9e57aa2752d9dde986d92883f1aa.tar.gz CMake-38b68bcd783a9e57aa2752d9dde986d92883f1aa.tar.bz2 |
ENH: Improve support for various versions of gcov
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.h')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.h b/Source/CTest/cmCTestCoverageHandler.h index 9ad2873..052dced 100644 --- a/Source/CTest/cmCTestCoverageHandler.h +++ b/Source/CTest/cmCTestCoverageHandler.h @@ -60,6 +60,27 @@ private: m_Lines.clear(); m_Show = false; } + cmCTestCoverage(const cmCTestCoverage& rhs) : + m_AbsolutePath(rhs.m_AbsolutePath), + m_FullPath(rhs.m_FullPath), + m_Covered(rhs.m_Covered), + m_Tested(rhs.m_Tested), + m_UnTested(rhs.m_UnTested), + m_Lines(rhs.m_Lines), + m_Show(rhs.m_Show) + { + } + cmCTestCoverage& operator=(const cmCTestCoverage& rhs) + { + m_AbsolutePath = rhs.m_AbsolutePath; + m_FullPath = rhs.m_FullPath; + m_Covered = rhs.m_Covered; + m_Tested = rhs.m_Tested; + m_UnTested = rhs.m_UnTested; + m_Lines = rhs.m_Lines; + m_Show = rhs.m_Show; + return *this; + } std::string m_AbsolutePath; std::string m_FullPath; bool m_Covered; |