]> git.stg.codes - stg.git/blobdiff - stglibs/conffiles.lib/conffiles.cpp
Add a script to run cppcheck over all projects.
[stg.git] / stglibs / conffiles.lib / conffiles.cpp
index a9c3e555093a87e8e60cc7c7d946cfdf347865b8..9578e24f298791daad4e3923ae948bde7da9cf62 100644 (file)
@@ -70,7 +70,7 @@ if (pos != std::string::npos)
 return val;
 }
 //---------------------------------------------------------------------------
 return val;
 }
 //---------------------------------------------------------------------------
-std::string Trim(std::string val)
+std::string Trim(const std::string& val)
 {
 return TrimR(TrimL(val));
 }
 {
 return TrimR(TrimL(val));
 }