Index: fpdfsdk/include/javascript/event.h |
diff --git a/fpdfsdk/include/javascript/event.h b/fpdfsdk/include/javascript/event.h |
index c7c899e69de1677dc5e9a77b48f0d14077e31e56..e48a659fc74ea08a9b18e51cb31fe5629463cba3 100644 |
--- a/fpdfsdk/include/javascript/event.h |
+++ b/fpdfsdk/include/javascript/event.h |
@@ -12,7 +12,7 @@ |
class event : public CJS_EmbedObj { |
public: |
event(CJS_Object* pJSObject); |
- virtual ~event(void); |
+ ~event() override; |
public: |
FX_BOOL change(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); |
@@ -59,8 +59,8 @@ class event : public CJS_EmbedObj { |
class CJS_Event : public CJS_Object { |
public: |
- CJS_Event(JSFXObject pObject) : CJS_Object(pObject){}; |
- virtual ~CJS_Event(void){}; |
+ CJS_Event(JSFXObject pObject) : CJS_Object(pObject) {} |
+ ~CJS_Event() override {} |
DECLARE_JS_CLASS(CJS_Event); |