Fixes BaseLibrary function calling itself.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
parent
3bd39cc035
commit
a01e22ad89
|
@ -36,8 +36,8 @@ namespace CreatureLib::Library {
|
|||
_listValues.Remove(k);
|
||||
}
|
||||
|
||||
bool TryGet(const ArbUt::BasicStringView& name, ArbUt::BorrowedPtr<const T>& out) const noexcept {
|
||||
return TryGet(name.GetHash(), out);
|
||||
std::optional<ArbUt::BorrowedPtr<const T>> TryGet(const ArbUt::BasicStringView& name) const noexcept {
|
||||
return TryGet(name.GetHash());
|
||||
}
|
||||
std::optional<ArbUt::BorrowedPtr<const T>> TryGet(uint32_t hashedKey) const noexcept {
|
||||
auto find = _values.GetStdMap().find(hashedKey);
|
||||
|
|
Loading…
Reference in New Issue