Asserts on unknown TurnInstruction

This commit is contained in:
Daniel J. Hofmann 2016-03-01 14:05:37 +01:00 committed by Patrick Niklaus
parent 5d83fa1e4c
commit 64d4d58a0d

View File

@ -90,6 +90,10 @@ std::string instructionToString(extractor::TurnInstruction instruction)
case extractor::TurnInstruction::AccessRestrictionPenalty:
BOOST_ASSERT_MSG(false, "Invalid turn type used");
break;
default:
BOOST_ASSERT_MSG(false, "unknown TurnInstruction");
break;
}
return token;