From 674a136c233b9f2ac62c1cbdb743f536050420cc Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 7 Jan 2021 22:35:55 -0800 Subject: Minor fix in GLTF resource manager --- AssetLoader/src/GLTFResourceManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AssetLoader/src/GLTFResourceManager.cpp') diff --git a/AssetLoader/src/GLTFResourceManager.cpp b/AssetLoader/src/GLTFResourceManager.cpp index 284b996..27b75e1 100644 --- a/AssetLoader/src/GLTFResourceManager.cpp +++ b/AssetLoader/src/GLTFResourceManager.cpp @@ -129,7 +129,7 @@ RefCntAutoPtr ResourceManager::AllocateTextureSpace( std::lock_guard Lock{m_TexAllocationsMtx}; // Note that the same allocation may potentially be created by more // than one thread if it has not been found in the cache originally - m_TexAllocations.emplace(CacheId, pAllocation).second; + m_TexAllocations.emplace(CacheId, pAllocation); } return pAllocation; -- cgit v1.2.3