Add cancel button to password change menu. (#5720)
[oweals/minetest.git] / src / mods.cpp
index 5a7dc6dcaf7c29a33a8ecb6b5c6e965370aedad7..6fce8e93d1d45140a0cad4379ff9089be74d814c 100644 (file)
@@ -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<std::string> extra_headers;