mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Pass arguments by reference
This commit is contained in:
@@ -31,8 +31,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "httpfetch.h"
|
||||
#include "porting.h"
|
||||
|
||||
Json::Value fetchJsonValue(const std::string url,
|
||||
struct curl_slist *chunk) {
|
||||
Json::Value fetchJsonValue(const std::string &url,
|
||||
struct curl_slist *chunk) {
|
||||
#if USE_CURL
|
||||
|
||||
HTTPFetchRequest fetchrequest;
|
||||
|
Reference in New Issue
Block a user