diff options
Diffstat (limited to 'src/curl_wrapper.cpp')
-rw-r--r-- | src/curl_wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/curl_wrapper.cpp b/src/curl_wrapper.cpp index 0d78e6d..28292d9 100644 --- a/src/curl_wrapper.cpp +++ b/src/curl_wrapper.cpp @@ -405,6 +405,7 @@ bool CURLWrapper::replace_parameter_in_uri(string &uri, void CURLWrapper::add_parameters_to_uri(string &uri, const parametermap ¶meters) { + bool first{true}; // Replace <ID> with the value of parameter “id” and so on. for (const auto ¶m : parameters) { @@ -413,7 +414,6 @@ void CURLWrapper::add_parameters_to_uri(string &uri, continue; } - static bool first{true}; if (first) { uri += "?"; |