summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/console.h')
-rw-r--r--fpdfsdk/javascript/console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/console.h b/fpdfsdk/javascript/console.h
index 96c2daec21..78743e62d9 100644
--- a/fpdfsdk/javascript/console.h
+++ b/fpdfsdk/javascript/console.h
@@ -41,7 +41,7 @@ class CJS_Console : public CJS_Object {
private:
static int ObjDefnID;
- static JSMethodSpec MethodSpecs[];
+ static const JSMethodSpec MethodSpecs[];
};
#endif // FPDFSDK_JAVASCRIPT_CONSOLE_H_