diff options
Diffstat (limited to 'fxjs/cjs_color.cpp')
-rw-r--r-- | fxjs/cjs_color.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fxjs/cjs_color.cpp b/fxjs/cjs_color.cpp index 58a98dd8ff..cfef4493b3 100644 --- a/fxjs/cjs_color.cpp +++ b/fxjs/cjs_color.cpp @@ -36,8 +36,7 @@ int CJS_Color::ObjDefnID = -1; // static void CJS_Color::DefineJSObjects(CFXJS_Engine* pEngine) { ObjDefnID = pEngine->DefineObj("color", FXJSOBJTYPE_STATIC, - JSConstructor<CJS_Color, color>, - JSDestructor<CJS_Color>); + JSConstructor<CJS_Color, color>, JSDestructor); DefineProps(pEngine, ObjDefnID, PropertySpecs, FX_ArraySize(PropertySpecs)); DefineMethods(pEngine, ObjDefnID, MethodSpecs, FX_ArraySize(MethodSpecs)); } |