From 69fe7110e6af83ca82d71275a70ae4983daddd6f Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 14 Sep 2017 18:26:26 -0700 Subject: Make static const char* arrays more const. Change-Id: I87b5e6cefe973b82b4868e56fc5285c95c53a12b Reviewed-on: https://pdfium-review.googlesource.com/12550 Commit-Queue: Lei Zhang Reviewed-by: Henrique Nakashima --- xfa/fgas/font/cfgas_fontmgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa') diff --git a/xfa/fgas/font/cfgas_fontmgr.cpp b/xfa/fgas/font/cfgas_fontmgr.cpp index 4b395c9ddf..9cb772ecba 100644 --- a/xfa/fgas/font/cfgas_fontmgr.cpp +++ b/xfa/fgas/font/cfgas_fontmgr.cpp @@ -443,7 +443,7 @@ FX_LPEnumAllFonts FX_GetDefFontEnumerator() { namespace { -const char* g_FontFolders[] = { +constexpr const char* g_FontFolders[] = { #if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ "/usr/share/fonts", "/usr/share/X11/fonts/Type1", "/usr/share/X11/fonts/TTF", "/usr/local/share/fonts", -- cgit v1.2.3