summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/cjs_global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/cjs_global.cpp')
-rw-r--r--fpdfsdk/javascript/cjs_global.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/cjs_global.cpp b/fpdfsdk/javascript/cjs_global.cpp
index 826d26c638..d38455d8be 100644
--- a/fpdfsdk/javascript/cjs_global.cpp
+++ b/fpdfsdk/javascript/cjs_global.cpp
@@ -174,7 +174,7 @@ class JSGlobalAlternate : public CJS_EmbedObj {
} // namespace
-JSMethodSpec CJS_Global::MethodSpecs[] = {
+const JSMethodSpec CJS_Global::MethodSpecs[] = {
{"setPersistent", setPersistent_static},
{0, 0}};