diff options
Diffstat (limited to 'fxjs/cjs_event.cpp')
-rw-r--r-- | fxjs/cjs_event.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fxjs/cjs_event.cpp b/fxjs/cjs_event.cpp index 4fb988f4a6..09b104a8d5 100644 --- a/fxjs/cjs_event.cpp +++ b/fxjs/cjs_event.cpp @@ -39,8 +39,7 @@ int CJS_Event::ObjDefnID = -1; // static void CJS_Event::DefineJSObjects(CFXJS_Engine* pEngine) { ObjDefnID = pEngine->DefineObj("event", FXJSOBJTYPE_STATIC, - JSConstructor<CJS_Event, event>, - JSDestructor<CJS_Event>); + JSConstructor<CJS_Event, event>, JSDestructor); DefineProps(pEngine, ObjDefnID, PropertySpecs, FX_ArraySize(PropertySpecs)); } |