Several fixes.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-08-30 13:53:15 +02:00
parent c6e2de6156
commit 8f73a9a43a
6 changed files with 17 additions and 17 deletions

View File

@@ -17,10 +17,6 @@ namespace PkmnLib::Library {
return CreatureLib::Library::ItemLibrary::Get(name).ForceAs<const Item>();
}
inline ArbUt::BorrowedPtr<const Item> operator[](const ArbUt::BasicStringView& name) const { return Get(name); }
void Insert(const ArbUt::StringView& name, const Item* item) {
CreatureLib::Library::ItemLibrary::Insert(name, item);
}
};
}

View File

@@ -26,10 +26,6 @@ namespace PkmnLib::Library {
return Get(name);
}
void Insert(const ArbUt::StringView& name, const PokemonSpecies* species) {
CreatureLib::Library::SpeciesLibrary::Insert(name, species);
}
ArbUt::BorrowedPtr<const PokemonSpecies>
FindPreEvolution(const ArbUt::BorrowedPtr<const PokemonSpecies>& species) const noexcept;
};