constexpr global variable conversion
Found with cppcoreguidelines-avoid-non-const-global-variables Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
a2387210bf
commit
4c5fea96e4
@ -62,9 +62,9 @@ mikmod_mpd_is_present()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char drv_name[] = PACKAGE_NAME;
|
static constexpr char drv_name[] = PACKAGE_NAME;
|
||||||
static char drv_version[] = VERSION;
|
static constexpr char drv_version[] = VERSION;
|
||||||
static char drv_alias[] = PACKAGE;
|
static constexpr char drv_alias[] = PACKAGE;
|
||||||
|
|
||||||
static MDRIVER drv_mpd = {
|
static MDRIVER drv_mpd = {
|
||||||
nullptr,
|
nullptr,
|
||||||
|
Loading…
Reference in New Issue
Block a user