Commit 4c5fea96 authored by Rosen Penev's avatar Rosen Penev

constexpr global variable conversion

Found with cppcoreguidelines-avoid-non-const-global-variables Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
parent a2387210
......@@ -62,9 +62,9 @@ mikmod_mpd_is_present()
return true;
}
static char drv_name[] = PACKAGE_NAME;
static char drv_version[] = VERSION;
static char drv_alias[] = PACKAGE;
static constexpr char drv_name[] = PACKAGE_NAME;
static constexpr char drv_version[] = VERSION;
static constexpr char drv_alias[] = PACKAGE;
static MDRIVER drv_mpd = {
nullptr,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment