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:
@@ -479,7 +479,7 @@ SimpleDatabase::Unmount(const char *uri) noexcept
|
||||
return true;
|
||||
}
|
||||
|
||||
const DatabasePlugin simple_db_plugin = {
|
||||
constexpr DatabasePlugin simple_db_plugin = {
|
||||
"simple",
|
||||
DatabasePlugin::FLAG_REQUIRE_STORAGE,
|
||||
SimpleDatabase::Create,
|
||||
|
Reference in New Issue
Block a user