From ce23db59c6399199fa55b4b7dc8880522e2f1bca Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 30 Sep 2024 12:16:43 +0200 Subject: Enable readability-redundant-member-init check. --- src/other_tools/utils/curl_url_handle.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/other_tools/utils/curl_url_handle.hpp') 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 host_tokens{}; + std::vector host_tokens; // port number as string, or nullopt if port missing std::optional 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 handle_{nullptr, curl_url_closer}; -- cgit v1.2.3