Make tmapinfo_flags a complete type

For the same reason as 26ab08d55f884ae77ba0e1d400a2d6a92d1c0831: gdb
refuses to fully show an instance of an enum that has incomplete type,
even when the size is known.
This commit is contained in:
Kp 2023-01-29 20:42:03 +00:00
parent 0e1219a66b
commit 580fe803f0

View file

@ -51,7 +51,9 @@ enum class tmapinfo_flag : uint8_t
/* endif */
};
enum class tmapinfo_flags : uint8_t;
enum class tmapinfo_flags : uint8_t
{
};
static constexpr uint8_t operator&(tmapinfo_flags flags, tmapinfo_flag mask)
{