From 1ca8fcf460c6f2faada07bf084c4db13bad34fbc Mon Sep 17 00:00:00 2001 From: Andrettin <6322423+Andrettin@users.noreply.github.com> Date: Sat, 16 Aug 2025 21:36:21 +0200 Subject: [PATCH] Removed the unused ParseMonsterIdIfNotEmpty() function --- Source/monstdat.cpp | 9 --------- 1 file changed, 9 deletions(-) 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;