diff options
Diffstat (limited to 'src/mods.h')
-rw-r--r-- | src/mods.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mods.h b/src/mods.h index c9bd51d99..1e62db54d 100644 --- a/src/mods.h +++ b/src/mods.h @@ -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 |