From c94a793413938c4142bc8bedd40ae2fe2527f71a Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 26 Oct 2017 16:48:57 -0400 Subject: Make spec arrays const This CL marks all of the Spec arrays as const. Change-Id: Ie36f670a4230fcac2cba5544b9c6e5179b0c7073 Reviewed-on: https://pdfium-review.googlesource.com/16951 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- fpdfsdk/javascript/cjs_display.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/javascript/cjs_display.h') diff --git a/fpdfsdk/javascript/cjs_display.h b/fpdfsdk/javascript/cjs_display.h index faf779dbcb..53975e6c42 100644 --- a/fpdfsdk/javascript/cjs_display.h +++ b/fpdfsdk/javascript/cjs_display.h @@ -18,7 +18,7 @@ class CJS_Display : public CJS_Object { private: static int ObjDefnID; - static JSConstSpec ConstSpecs[]; + static const JSConstSpec ConstSpecs[]; }; #endif // FPDFSDK_JAVASCRIPT_CJS_DISPLAY_H_ -- cgit v1.2.3