Add cancel button to password change menu. (#5720)
[oweals/minetest.git] / src / mods.h
index c9bd51d992f6e6b78478517050a876ca480316bf..1e62db54d41ceda2b3849eac5935448924f1ff42 100644 (file)
@@ -146,9 +146,10 @@ public:
 #endif
 
 #if USE_CURL
-Json::Value getModstoreUrl(std::string url);
+Json::Value getModstoreUrl(const std::string &url);
 #else
-inline Json::Value getModstoreUrl(std::string url) {
+inline Json::Value getModstoreUrl(const std::string &url)
+{
        return Json::Value();
 }
 #endif