summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/event.h')
-rw-r--r--fpdfsdk/javascript/event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/event.h b/fpdfsdk/javascript/event.h
index d70b57801e..67194944d0 100644
--- a/fpdfsdk/javascript/event.h
+++ b/fpdfsdk/javascript/event.h
@@ -11,7 +11,7 @@
class event : public CJS_EmbedObj {
public:
- event(CJS_Object* pJSObject);
+ explicit event(CJS_Object* pJSObject);
~event() override;
public:
@@ -39,7 +39,7 @@ class event : public CJS_EmbedObj {
class CJS_Event : public CJS_Object {
public:
- CJS_Event(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
+ explicit CJS_Event(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
~CJS_Event() override {}
DECLARE_JS_CLASS();