summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-01 18:17:31 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-01 18:18:54 (GMT)
commit9fe4a9e2aed8457d7124d86e31a272180794ac61 (patch)
tree77f4f761383a3f859ba4e472c1f074afe0493819 /Source
parente75ac5aa03934d259adf5d9300c24539161131af (diff)
downloadCMake-9fe4a9e2aed8457d7124d86e31a272180794ac61.zip
CMake-9fe4a9e2aed8457d7124d86e31a272180794ac61.tar.gz
CMake-9fe4a9e2aed8457d7124d86e31a272180794ac61.tar.bz2
cmParseBlanketJSCoverage: Pass unmodified parameter as const&
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmParseBlanketJSCoverage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmParseBlanketJSCoverage.cxx b/Source/CTest/cmParseBlanketJSCoverage.cxx
index 54bb422..e5d8a23 100644
--- a/Source/CTest/cmParseBlanketJSCoverage.cxx
+++ b/Source/CTest/cmParseBlanketJSCoverage.cxx
@@ -22,7 +22,7 @@ public:
virtual ~JSONParser() {}
- std::string getValue(std::string line, int type)
+ std::string getValue(std::string const& line, int type)
{
size_t begIndex;
size_t endIndex;