summaryrefslogtreecommitdiff
path: root/src/convert_json.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/convert_json.cpp')
-rw-r--r--src/convert_json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/convert_json.cpp b/src/convert_json.cpp
index c8e57aaf7..6f227e796 100644
--- a/src/convert_json.cpp
+++ b/src/convert_json.cpp
@@ -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;