Get rid of unnecessary "explicit" in wxJSScriptWrapper

This ctor has more than one argument and so can't be used implicitly.
This commit is contained in:
Vadim Zeitlin 2017-10-22 17:21:14 +02:00
parent b22e361245
commit 148c590017

View File

@ -19,8 +19,7 @@
class wxJSScriptWrapper class wxJSScriptWrapper
{ {
public: public:
wxJSScriptWrapper(const wxString& js, int* runScriptCount) : m_jsscript(js)
explicit wxJSScriptWrapper(const wxString& js, int* runScriptCount) : m_jsscript(js)
{ {
// __wx$counter is used to have a different variable on every // __wx$counter is used to have a different variable on every
// RunScript call, to not lose variable values between calls // RunScript call, to not lose variable values between calls