summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/app.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/app.h')
-rw-r--r--fpdfsdk/javascript/app.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/app.h b/fpdfsdk/javascript/app.h
index 53794736f2..7307a73d97 100644
--- a/fpdfsdk/javascript/app.h
+++ b/fpdfsdk/javascript/app.h
@@ -186,8 +186,8 @@ class CJS_App : public CJS_Object {
private:
static int ObjDefnID;
- static JSPropertySpec PropertySpecs[];
- static JSMethodSpec MethodSpecs[];
+ static const JSPropertySpec PropertySpecs[];
+ static const JSMethodSpec MethodSpecs[];
};
#endif // FPDFSDK_JAVASCRIPT_APP_H_