From 712b729ed527c7c062a37c77f9ff809c72a4d646 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 18 Nov 2018 12:34:17 +0100 Subject: [PATCH] Constant initialization for Patterns' internal global variables --- include/deal.II/base/patterns.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/base/patterns.h b/include/deal.II/base/patterns.h index f5b300a8b0..c88df1bb2e 100644 --- a/include/deal.II/base/patterns.h +++ b/include/deal.II/base/patterns.h @@ -1568,9 +1568,9 @@ namespace Patterns namespace internal { - const std::array default_list_separator{ + constexpr std::array default_list_separator{ {",", ";", "|", "%"}}; - const std::array default_map_separator{ + constexpr std::array default_map_separator{ {":", "=", "@", "#"}}; // specialize a type for all of the STL containers and maps -- 2.39.5