summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvmap.cpp2
1 files changed, 1 insertions, 1 deletions
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) {
65 65
66 const u32 handle = next_handle++; 66 const u32 handle = next_handle++;
67 67
68 handles[handle] = std::move(object); 68 handles.insert_or_assign(handle, std::move(object));
69 69
70 return handle; 70 return handle;
71} 71}