clang-tidy: mark a bunch of variables constexpr

Found with cppcoreguidelines-interfaces-global-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-01-16 18:35:31 -08:00
parent 906e82f600
commit 594dfe572b
15 changed files with 15 additions and 15 deletions

View File

@@ -53,7 +53,7 @@
#include <string.h>
const struct DecoderPlugin *const decoder_plugins[] = {
constexpr const struct DecoderPlugin *decoder_plugins[] = {
#ifdef ENABLE_MAD
&mad_decoder_plugin,
#endif