From e62e6c35f7b7c531e24864798a958868e3d6069a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 20 Aug 2021 15:26:27 -0700 Subject: [PATCH] add constexpr This was not const before. Signed-off-by: Rosen Penev --- src/env_dispatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env_dispatch.cpp b/src/env_dispatch.cpp index b4c43a2cd..85d4135a7 100644 --- a/src/env_dispatch.cpp +++ b/src/env_dispatch.cpp @@ -556,7 +556,7 @@ static void init_curses(const environment_t &vars) { curses_initialized = true; } -static const char *utf8_locales[] = { +static constexpr const char *utf8_locales[] = { "C.UTF-8", "en_US.UTF-8", "en_GB.UTF-8",