From f52aefb34193cad315e283245c1ea9fb5b08fe4c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 9 Dec 2014 21:56:22 +0100 Subject: [PATCH] decoder/ffmpeg: make the tag_table constexpr --- src/decoder/plugins/FfmpegMetaData.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder/plugins/FfmpegMetaData.cxx b/src/decoder/plugins/FfmpegMetaData.cxx index a39466945..c0d73c259 100644 --- a/src/decoder/plugins/FfmpegMetaData.cxx +++ b/src/decoder/plugins/FfmpegMetaData.cxx @@ -25,7 +25,7 @@ #include "tag/TagTable.hxx" #include "tag/TagHandler.hxx" -static const struct tag_table ffmpeg_tags[] = { +static constexpr struct tag_table ffmpeg_tags[] = { { "year", TAG_DATE }, { "author-sort", TAG_ARTIST_SORT }, { "album_artist", TAG_ALBUM_ARTIST },