From cf37a5569002e83cc4d6916b39118ceba134da1b Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Wed, 19 Apr 2017 00:36:30 +0200 Subject: Fix various variables passed by copy instead of const ref (#5610) Pointed by cppcheck --- src/mods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mods.cpp') diff --git a/src/mods.cpp b/src/mods.cpp index 5a7dc6dca..6fce8e93d 100644 --- a/src/mods.cpp +++ b/src/mods.cpp @@ -347,7 +347,7 @@ ClientModConfiguration::ClientModConfiguration(const std::string &path): #endif #if USE_CURL -Json::Value getModstoreUrl(std::string url) +Json::Value getModstoreUrl(const std::string &url) { std::vector extra_headers; -- cgit v1.2.3