Просмотр исходного кода

cmParseBlanketJSCoverage: Pass unmodified parameter as const&

Brad King 8 лет назад
Родитель
Сommit
9fe4a9e2ae
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Source/CTest/cmParseBlanketJSCoverage.cxx

+ 1 - 1
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;