Asserts on unknown TurnInstruction
This commit is contained in:
parent
5d83fa1e4c
commit
64d4d58a0d
@ -90,6 +90,10 @@ std::string instructionToString(extractor::TurnInstruction instruction)
|
|||||||
case extractor::TurnInstruction::AccessRestrictionPenalty:
|
case extractor::TurnInstruction::AccessRestrictionPenalty:
|
||||||
BOOST_ASSERT_MSG(false, "Invalid turn type used");
|
BOOST_ASSERT_MSG(false, "Invalid turn type used");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
BOOST_ASSERT_MSG(false, "unknown TurnInstruction");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return token;
|
return token;
|
||||||
|
Loading…
Reference in New Issue
Block a user