diff options
Diffstat (limited to 'fxjs/cjs_report.cpp')
-rw-r--r-- | fxjs/cjs_report.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/cjs_report.cpp b/fxjs/cjs_report.cpp index 0788a90a4c..6af87a6fb9 100644 --- a/fxjs/cjs_report.cpp +++ b/fxjs/cjs_report.cpp @@ -19,9 +19,8 @@ int CJS_Report::ObjDefnID = -1; // static void CJS_Report::DefineJSObjects(CFXJS_Engine* pEngine, FXJSOBJTYPE eObjType) { - ObjDefnID = - pEngine->DefineObj("Report", eObjType, JSConstructor<CJS_Report, Report>, - JSDestructor<CJS_Report>); + ObjDefnID = pEngine->DefineObj( + "Report", eObjType, JSConstructor<CJS_Report, Report>, JSDestructor); DefineMethods(pEngine, ObjDefnID, MethodSpecs, FX_ArraySize(MethodSpecs)); } |