Update src/core/hle/service/nvdrv/devices/nvmap.cpp

Co-authored-by: LC <mathew1800@gmail.com>
This commit is contained in:
bunnei 2020-07-27 18:27:20 -07:00 committed by GitHub
parent 05def61398
commit db94457205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
} }