summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/cjs_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/cjs_global.h')
-rw-r--r--fpdfsdk/javascript/cjs_global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/cjs_global.h b/fpdfsdk/javascript/cjs_global.h
index 499a66b7c2..b99b071e9a 100644
--- a/fpdfsdk/javascript/cjs_global.h
+++ b/fpdfsdk/javascript/cjs_global.h
@@ -36,7 +36,7 @@ class CJS_Global : public CJS_Object {
private:
static int ObjDefnID;
- static JSMethodSpec MethodSpecs[];
+ static const JSMethodSpec MethodSpecs[];
};
#endif // FPDFSDK_JAVASCRIPT_CJS_GLOBAL_H_