From 9fe4a9e2aed8457d7124d86e31a272180794ac61 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 1 Jun 2017 14:17:31 -0400 Subject: cmParseBlanketJSCoverage: Pass unmodified parameter as const& --- Source/CTest/cmParseBlanketJSCoverage.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12