mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-26 05:10:07 +00:00
Update src/core/hle/service/nvdrv/devices/nvmap.cpp
Co-authored-by: LC <mathew1800@gmail.com>
This commit is contained in:
parent
05def61398
commit
db94457205
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user