From c16fb61bead5877994967ef89e84caafec1f19e0 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Thu, 17 Dec 2020 16:46:22 +0300 Subject: [PATCH] fixed_typemap.hpp: Fix assignment operator for g_ptr Maybe RPCS3 hangs will finally be gone. --- rpcs3/util/fixed_typemap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/util/fixed_typemap.hpp b/rpcs3/util/fixed_typemap.hpp index fc1f6550ea..4ca979686d 100644 --- a/rpcs3/util/fixed_typemap.hpp +++ b/rpcs3/util/fixed_typemap.hpp @@ -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);