diff --git a/src/engine/api/json_factory.cpp b/src/engine/api/json_factory.cpp index c7a50362f..c906bc96d 100644 --- a/src/engine/api/json_factory.cpp +++ b/src/engine/api/json_factory.cpp @@ -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;