1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

fixed_typemap.hpp: Fix assignment operator for g_ptr

Maybe RPCS3 hangs will finally be gone.
This commit is contained in:
Nekotekina 2020-12-17 16:46:22 +03:00
parent 2acead357b
commit c16fb61bea

View File

@ -97,7 +97,7 @@ namespace stx
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_order, x.m_order);
std::swap(m_init_count, x.m_init_count);