From db944572052e7444c86b383a4ab94f5ae284945e Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 27 Jul 2020 18:27:20 -0700 Subject: Update src/core/hle/service/nvdrv/devices/nvmap.cpp Co-authored-by: LC --- src/core/hle/service/nvdrv/devices/nvmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle/service/nvdrv') diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp index 7228910a0..9436e16ad 100644 --- a/src/core/hle/service/nvdrv/devices/nvmap.cpp +++ b/src/core/hle/service/nvdrv/devices/nvmap.cpp @@ -65,7 +65,7 @@ u32 nvmap::CreateObject(u32 size) { const u32 handle = next_handle++; - handles[handle] = std::move(object); + handles.insert_or_assign(handle, std::move(object)); return handle; } -- cgit v1.2.3