Use direct initialization for newmenu::type
This commit is contained in:
parent
9086327de1
commit
a193af2e16
|
@ -227,7 +227,7 @@ public:
|
|||
uint8_t right_offset;
|
||||
nm_type type
|
||||
#ifndef NDEBUG
|
||||
= static_cast<nm_type>(UINT8_MAX);
|
||||
{UINT8_MAX};
|
||||
#endif
|
||||
; // What kind of item this is, see NM_TYPE_????? defines
|
||||
union nm_type_specific_data {
|
||||
|
|
Loading…
Reference in a new issue