From 148c590017475556d9787e16e1917fff0c9ac0a8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 Oct 2017 17:21:14 +0200 Subject: [PATCH] Get rid of unnecessary "explicit" in wxJSScriptWrapper This ctor has more than one argument and so can't be used implicitly. --- include/wx/private/jsscriptwrapper.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/wx/private/jsscriptwrapper.h b/include/wx/private/jsscriptwrapper.h index a4c3ccf035..1f61fb52a3 100644 --- a/include/wx/private/jsscriptwrapper.h +++ b/include/wx/private/jsscriptwrapper.h @@ -19,8 +19,7 @@ class wxJSScriptWrapper { public: - - explicit wxJSScriptWrapper(const wxString& js, int* runScriptCount) : m_jsscript(js) + wxJSScriptWrapper(const wxString& js, int* runScriptCount) : m_jsscript(js) { // __wx$counter is used to have a different variable on every // RunScript call, to not lose variable values between calls