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
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ u32 nvmap::CreateObject(u32 size) {
|
||||||
|
|
||||||
const u32 handle = next_handle++;
|
const u32 handle = next_handle++;
|
||||||
|
|
||||||
handles[handle] = std::move(object);
|
handles.insert_or_assign(handle, std::move(object));
|
||||||
|
|
||||||
return handle;
|
return handle;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue