Refactoring

This commit is contained in:
Larry Luo 2022-07-19 04:01:09 -07:00
parent 657ce7c614
commit 7b850b6d93

View File

@ -69,13 +69,15 @@ struct State
UInt64 id{ 0 };
UInt64 state_index{ 0 };
union
{
struct
struct Flag_Values
{
unsigned int is_final : 1;
unsigned int encoding_method : 2;
} flag_values;
};
union
{
Flag_Values flag_values;
uint8_t flag{0};
};
std::map<char, Arc> arcs;