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:
@@ -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
|
||||
|
Reference in New Issue
Block a user