From bfb441594f77ad6bbf4ec58be4d7062710de85fa Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 28 May 2022 03:22:05 -0500 Subject: [PATCH] [nostalgia/core] Update for Ox HashMap::at return type change --- src/nostalgia/core/assetmanager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/core/assetmanager.hpp b/src/nostalgia/core/assetmanager.hpp index 1bed2475..59c3cbc3 100644 --- a/src/nostalgia/core/assetmanager.hpp +++ b/src/nostalgia/core/assetmanager.hpp @@ -189,7 +189,7 @@ class AssetManager { ox::Result> getAsset(const ox::String &path) const noexcept { auto out = m_cache.at(path); oxReturnError(out); - return AssetRef(out.value.get()); + return AssetRef(out.value->get()); } ox::Result> setAsset(const ox::String &path, const T &obj) noexcept {