diff options
Diffstat (limited to 'fxjs/cjs_console.cpp')
-rw-r--r-- | fxjs/cjs_console.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fxjs/cjs_console.cpp b/fxjs/cjs_console.cpp index 1921cd2069..f4158a9c0a 100644 --- a/fxjs/cjs_console.cpp +++ b/fxjs/cjs_console.cpp @@ -22,9 +22,9 @@ int CJS_Console::ObjDefnID = -1; // static void CJS_Console::DefineJSObjects(CFXJS_Engine* pEngine) { - ObjDefnID = pEngine->DefineObj("console", FXJSOBJTYPE_STATIC, - JSConstructor<CJS_Console, console>, - JSDestructor<CJS_Console>); + ObjDefnID = + pEngine->DefineObj("console", FXJSOBJTYPE_STATIC, + JSConstructor<CJS_Console, console>, JSDestructor); DefineMethods(pEngine, ObjDefnID, MethodSpecs, FX_ArraySize(MethodSpecs)); } |