mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 22:56:42 +00:00
Initialize all members.
Issue found by cppcheck.
This commit is contained in:
parent
47c3f70dd4
commit
eaf1b0f709
@ -33,6 +33,14 @@
|
||||
namespace gui {
|
||||
|
||||
menu::basic_sorter::basic_sorter()
|
||||
: alpha_sort_()
|
||||
, numeric_sort_()
|
||||
, id_sort_()
|
||||
, xp_sort_()
|
||||
, level_sort_()
|
||||
, redirect_sort_()
|
||||
, pos_sort_()
|
||||
, xp_col_(-1)
|
||||
{
|
||||
set_id_sort(-1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user