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:
@@ -33,7 +33,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
const EncoderPlugin *const encoder_plugins[] = {
|
||||
constexpr const EncoderPlugin *encoder_plugins[] = {
|
||||
&null_encoder_plugin,
|
||||
#ifdef ENABLE_VORBISENC
|
||||
&vorbis_encoder_plugin,
|
||||
|
Reference in New Issue
Block a user