From f02f8cc8a137d439847c3c193df431dc18d9d9a5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 13 Dec 2020 00:27:58 +0100 Subject: [PATCH] Remove unnecessary use of "explicit" It's not used anywhere else with constructors taking more than one (non-optional) argument and is not really useful with them (and not useful at all until C++17), so don't use it here neither for consistency. No real changes. --- include/wx/msw/webrequest_winhttp.h | 2 +- include/wx/webrequest_curl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/msw/webrequest_winhttp.h b/include/wx/msw/webrequest_winhttp.h index 22607becd7..11161be5b9 100644 --- a/include/wx/msw/webrequest_winhttp.h +++ b/include/wx/msw/webrequest_winhttp.h @@ -46,7 +46,7 @@ private: class WXDLLIMPEXP_NET wxWebAuthChallengeWinHTTP : public wxWebAuthChallenge { public: - explicit wxWebAuthChallengeWinHTTP(Source source, wxWebRequestWinHTTP& request); + wxWebAuthChallengeWinHTTP(Source source, wxWebRequestWinHTTP& request); bool Init(); diff --git a/include/wx/webrequest_curl.h b/include/wx/webrequest_curl.h index 6d364241ff..76cc0f56b8 100644 --- a/include/wx/webrequest_curl.h +++ b/include/wx/webrequest_curl.h @@ -23,7 +23,7 @@ class wxWebRequestCURL; class WXDLLIMPEXP_NET wxWebAuthChallengeCURL : public wxWebAuthChallenge { public: - explicit wxWebAuthChallengeCURL(Source source, wxWebRequestCURL& request); + wxWebAuthChallengeCURL(Source source, wxWebRequestCURL& request); bool Init();