mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-12 18:08:55 +02:00
[core/hle/service/nvdrv] force std::unordered_map<> to retain pointer stability
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
4337135910
commit
5ce4a49a6c
1 changed files with 1 additions and 2 deletions
|
|
@ -161,8 +161,7 @@ private:
|
|||
std::list<std::shared_ptr<Handle>> unmap_queue{};
|
||||
std::mutex unmap_queue_lock{}; //!< Protects access to `unmap_queue`
|
||||
|
||||
ankerl::unordered_dense::map<Handle::Id, std::shared_ptr<Handle>>
|
||||
handles{}; //!< Main owning map of handles
|
||||
std::unordered_map<Handle::Id, std::shared_ptr<Handle>> handles{}; //!< Main owning map of handles
|
||||
std::mutex handles_lock; //!< Protects access to `handles`
|
||||
|
||||
static constexpr u32 HandleIdIncrement{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue