diff options
author | Rolf Eike Beer <eb@emlix.com> | 2017-09-19 10:22:50 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2017-09-19 15:41:41 (GMT) |
commit | 062776e75b4b0340b178d03bd15ef263d5cf8db1 (patch) | |
tree | 2febd12a999ae0a131c07d7494c2c6b0d11701c7 /Source/CTest/cmCTestCoverageHandler.h | |
parent | 4547d9a83030f8ae7e636cef16a261c65e6feb40 (diff) | |
download | CMake-062776e75b4b0340b178d03bd15ef263d5cf8db1.zip CMake-062776e75b4b0340b178d03bd15ef263d5cf8db1.tar.gz CMake-062776e75b4b0340b178d03bd15ef263d5cf8db1.tar.bz2 |
CTest: pass std::string to cmCTestCoverageHandler::ShouldIDoCoverage()
Avoid needless conversion back and forth.
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.h')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.h b/Source/CTest/cmCTestCoverageHandler.h index 99ac5df..6492fe9 100644 --- a/Source/CTest/cmCTestCoverageHandler.h +++ b/Source/CTest/cmCTestCoverageHandler.h @@ -57,8 +57,8 @@ public: void SetLabelFilter(std::set<std::string> const& labels); private: - bool ShouldIDoCoverage(const char* file, const char* srcDir, - const char* binDir); + bool ShouldIDoCoverage(std::string const& file, std::string const& srcDir, + std::string const& binDir); void CleanCoverageLogFiles(std::ostream& log); bool StartCoverageLogFile(cmGeneratedFileStream& ostr, int logFileCount); void EndCoverageLogFile(cmGeneratedFileStream& ostr, int logFileCount); |