[nostalgia/core] Update for Ox HashMap::at return type change
This commit is contained in:
parent
779b18e410
commit
bfb441594f
@ -189,7 +189,7 @@ class AssetManager {
|
||||
ox::Result<AssetRef<T>> getAsset(const ox::String &path) const noexcept {
|
||||
auto out = m_cache.at(path);
|
||||
oxReturnError(out);
|
||||
return AssetRef<T>(out.value.get());
|
||||
return AssetRef<T>(out.value->get());
|
||||
}
|
||||
|
||||
ox::Result<AssetRef<T>> setAsset(const ox::String &path, const T &obj) noexcept {
|
||||
|
Loading…
Reference in New Issue
Block a user