summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/cjs_position.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/cjs_position.h')
-rw-r--r--fpdfsdk/javascript/cjs_position.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/cjs_position.h b/fpdfsdk/javascript/cjs_position.h
index 8a38cf28bd..fda2b6cba5 100644
--- a/fpdfsdk/javascript/cjs_position.h
+++ b/fpdfsdk/javascript/cjs_position.h
@@ -18,7 +18,7 @@ class CJS_Position : public CJS_Object {
private:
static int ObjDefnID;
- static JSConstSpec ConstSpecs[];
+ static const JSConstSpec ConstSpecs[];
};
#endif // FPDFSDK_JAVASCRIPT_CJS_POSITION_H_