Skip to content

Commit 1ca8fcf

Browse files
AndrettinAJenbo
authored andcommitted
Removed the unused ParseMonsterIdIfNotEmpty() function
1 parent 5d21bfa commit 1ca8fcf

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Source/monstdat.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,6 @@ tl::expected<_monster_id, std::string> ParseMonsterId(std::string_view value)
233233
return tl::make_unexpected("Unknown enum value");
234234
}
235235

236-
tl::expected<_monster_id, std::string> ParseMonsterIdIfNotEmpty(std::string_view value)
237-
{
238-
if (value.empty()) {
239-
return MT_INVALID;
240-
}
241-
242-
return ParseMonsterId(value);
243-
}
244-
245236
tl::expected<MonsterAvailability, std::string> ParseMonsterAvailability(std::string_view value)
246237
{
247238
if (value == "Always") return MonsterAvailability::Always;

0 commit comments

Comments
 (0)