addon/mg: Use flip() instead of a 32-bits ulong to appease the pedants
We're never going to have more than 32 add-on categories before this code is obsoleted by the GUI2 transition, but whatever.
This commit is contained in:
parent
c26b13372b
commit
aae20e7c0c
1 changed files with 4 additions and 2 deletions
|
@ -460,12 +460,14 @@ struct addons_filter_state
|
|||
|
||||
addons_filter_state()
|
||||
: keywords()
|
||||
, types(ADDON_TYPES_COUNT, 0xFFFFFFFFUL)
|
||||
, types(ADDON_TYPES_COUNT)
|
||||
, status(FILTER_ALL)
|
||||
, sort(SORT_NAMES)
|
||||
, direction(DIRECTION_ASCENDING)
|
||||
, changed(false)
|
||||
{}
|
||||
{
|
||||
types.flip();
|
||||
}
|
||||
};
|
||||
|
||||
/** GUI1 support class handling the filter options button. */
|
||||
|
|
Loading…
Add table
Reference in a new issue