From 1a1ee8b54fa0a130f2b6dc9b629b7dea970b3eb7 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 21 Dec 2023 18:35:18 -0800 Subject: [PATCH] remove pointless static in namespace Use constexpr too Signed-off-by: Rosen Penev --- taglib/toolkit/tpicturetype.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taglib/toolkit/tpicturetype.cpp b/taglib/toolkit/tpicturetype.cpp index a223952e..cb93b5c0 100644 --- a/taglib/toolkit/tpicturetype.cpp +++ b/taglib/toolkit/tpicturetype.cpp @@ -31,7 +31,7 @@ using namespace TagLib; namespace { - static const char *const typeStrs[] = { + constexpr const char *typeStrs[] = { "Other", "File Icon", "Other File Icon", @@ -52,7 +52,7 @@ namespace { "Coloured Fish", "Illustration", "Band Logo", - "Publisher Logo" + "Publisher Logo", }; } // namespace