summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/util.h')
-rw-r--r--fpdfsdk/javascript/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/util.h b/fpdfsdk/javascript/util.h
index 7e1b3886e4..68f82e7d1b 100644
--- a/fpdfsdk/javascript/util.h
+++ b/fpdfsdk/javascript/util.h
@@ -57,7 +57,7 @@ class CJS_Util : public CJS_Object {
private:
static int ObjDefnID;
- static JSMethodSpec MethodSpecs[];
+ static const JSMethodSpec MethodSpecs[];
};
#endif // FPDFSDK_JAVASCRIPT_UTIL_H_