-Wimplicit-int-conversion
compiler warnings to use the an int of the same width for both isminetype
and isminefilter
.
-Wimplicit-int-conversion
compiler warnings to use the an int of the same width for both isminetype
and isminefilter
.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
No conflicts as of last run.
Code review ACK fa653d6bdef798ab8aa480e60f255e8631db12be.
nit, include type_traits.
45@@ -46,7 +46,7 @@ enum isminetype : unsigned int
46 ISMINE_ENUM_ELEMENTS,
47 };
48 /** used for bitflags of isminetype */
49-typedef uint8_t isminefilter;
50+using isminefilter = std::underlying_type<isminetype>::type;