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:
@@ -30,7 +30,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
const ArchivePlugin *const archive_plugins[] = {
|
||||
constexpr const ArchivePlugin *archive_plugins[] = {
|
||||
#ifdef ENABLE_BZ2
|
||||
&bz2_archive_plugin,
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user