summaryrefslogtreecommitdiff
path: root/src/other_tools/utils/curl_url_handle.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/utils/curl_url_handle.hpp')
-rw-r--r--src/other_tools/utils/curl_url_handle.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/utils/curl_url_handle.hpp b/src/other_tools/utils/curl_url_handle.hpp
index 476277f3..6a7a7917 100644
--- a/src/other_tools/utils/curl_url_handle.hpp
+++ b/src/other_tools/utils/curl_url_handle.hpp
@@ -70,7 +70,7 @@ struct ConfigKeyMatchDegree {
struct NoproxyPattern {
// stores the substrings of the host portion of the pattern, obtained by
// splitting with delimiter '.'
- std::vector<std::string> host_tokens{};
+ std::vector<std::string> host_tokens;
// port number as string, or nullopt if port missing
std::optional<std::string> port;
};
@@ -163,7 +163,7 @@ class CurlURLHandle {
private:
// IMPORTANT: the CurlContext must be initialized before any curl
// object!
- CurlContext curl_context_{};
+ CurlContext curl_context_;
std::unique_ptr<CURLU, decltype(&curl_url_closer)> handle_{nullptr,
curl_url_closer};