mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 12:42:41 +01:00
fixed_typemap.hpp: Fix assignment operator for g_ptr
Maybe RPCS3 hangs will finally be gone.
This commit is contained in:
parent
2acead357b
commit
c16fb61bea
@ -97,7 +97,7 @@ namespace stx
|
|||||||
|
|
||||||
manual_fixed_typemap& operator=(manual_fixed_typemap&& r) noexcept
|
manual_fixed_typemap& operator=(manual_fixed_typemap&& r) noexcept
|
||||||
{
|
{
|
||||||
manual_fixed_typemap x(std::move(*this));
|
manual_fixed_typemap x(std::move(r));
|
||||||
std::swap(m_list, x.m_list);
|
std::swap(m_list, x.m_list);
|
||||||
std::swap(m_order, x.m_order);
|
std::swap(m_order, x.m_order);
|
||||||
std::swap(m_init_count, x.m_init_count);
|
std::swap(m_init_count, x.m_init_count);
|
||||||
|
Loading…
Reference in New Issue
Block a user