From 7cac34c807b6f38eaca3bc8296566493c8874e03 Mon Sep 17 00:00:00 2001 From: Selat Date: Thu, 27 Feb 2014 23:12:59 +0300 Subject: Pass arguments by reference --- src/convert_json.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/convert_json.cpp') 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; -- cgit v1.2.3