summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageHandler.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-27 13:08:21 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-05-27 13:08:21 (GMT)
commitfb1f5d50af2bc97b8dfe783998a66a7a4bea140e (patch)
tree1b55b11e2626dbf1dc948cce00094d528dbde7c1 /Source/CTest/cmCTestCoverageHandler.h
parent82c286393afb15346431a8a3f601819698fcb87f (diff)
parent27ead963052b4c3f4e40ea9e6141ba9902ad310a (diff)
downloadCMake-fb1f5d50af2bc97b8dfe783998a66a7a4bea140e.zip
CMake-fb1f5d50af2bc97b8dfe783998a66a7a4bea140e.tar.gz
CMake-fb1f5d50af2bc97b8dfe783998a66a7a4bea140e.tar.bz2
Merge topic 'remove-needless-copies'
27ead963 Remove unnecessary local copies. 618fb23f Pass arguments that are not modified as const&.
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.h')
-rw-r--r--Source/CTest/cmCTestCoverageHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.h b/Source/CTest/cmCTestCoverageHandler.h
index 4a2a602..1773218 100644
--- a/Source/CTest/cmCTestCoverageHandler.h
+++ b/Source/CTest/cmCTestCoverageHandler.h
@@ -119,7 +119,7 @@ private:
// Find the source file based on the source and build tree. This is used for
// Trace.py mode, since that one does not tell us where the source file is.
std::string FindFile(cmCTestCoverageHandlerContainer* cont,
- std::string fileName);
+ std::string const& fileName);
std::set<std::string> FindUncoveredFiles(
cmCTestCoverageHandlerContainer* cont);