remove pointless static in namespace

Use constexpr too

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-12-21 18:35:18 -08:00 committed by Urs Fleisch
parent cd044bfc8f
commit 1a1ee8b54f

View File

@ -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