diff options
Diffstat (limited to 'fxjs/cjs_util.cpp')
-rw-r--r-- | fxjs/cjs_util.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/cjs_util.cpp b/fxjs/cjs_util.cpp index 57267ad418..b161ec73fd 100644 --- a/fxjs/cjs_util.cpp +++ b/fxjs/cjs_util.cpp @@ -68,9 +68,8 @@ int CJS_Util::ObjDefnID = -1; // static void CJS_Util::DefineJSObjects(CFXJS_Engine* pEngine) { - ObjDefnID = - pEngine->DefineObj("util", FXJSOBJTYPE_STATIC, - JSConstructor<CJS_Util, util>, JSDestructor<CJS_Util>); + ObjDefnID = pEngine->DefineObj("util", FXJSOBJTYPE_STATIC, + JSConstructor<CJS_Util, util>, JSDestructor); DefineMethods(pEngine, ObjDefnID, MethodSpecs, FX_ArraySize(MethodSpecs)); } |