diff --git a/Source/monstdat.cpp b/Source/monstdat.cpp index 3917a73a0..e35d28f84 100644 --- a/Source/monstdat.cpp +++ b/Source/monstdat.cpp @@ -233,15 +233,6 @@ tl::expected<_monster_id, std::string> ParseMonsterId(std::string_view value) return tl::make_unexpected("Unknown enum value"); } -tl::expected<_monster_id, std::string> ParseMonsterIdIfNotEmpty(std::string_view value) -{ - if (value.empty()) { - return MT_INVALID; - } - - return ParseMonsterId(value); -} - tl::expected ParseMonsterAvailability(std::string_view value) { if (value == "Always") return MonsterAvailability::Always;