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/color.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/javascript/color.h') diff --git a/fpdfsdk/javascript/color.h b/fpdfsdk/javascript/color.h index 49dec3c5e8..7fc0a60aff 100644 --- a/fpdfsdk/javascript/color.h +++ b/fpdfsdk/javascript/color.h @@ -108,8 +108,8 @@ class CJS_Color : public CJS_Object { private: static int ObjDefnID; - static JSPropertySpec PropertySpecs[]; - static JSMethodSpec MethodSpecs[]; + static const JSPropertySpec PropertySpecs[]; + static const JSMethodSpec MethodSpecs[]; }; #endif // FPDFSDK_JAVASCRIPT_COLOR_H_ -- cgit v1.2.3