mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Fix various variables passed by copy instead of const ref (#5610)
Pointed by cppcheck
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user