From fd013c40ab86c15e66fb8fc32cac72281f6611e0 Mon Sep 17 00:00:00 2001 From: Tom Lally Date: Sat, 27 Aug 2022 13:49:07 +0100 Subject: [PATCH] Cleanup LatteDecompilerCFInstruction copy and move constructors. --- .../LegacyShaderDecompiler/LatteDecompilerInternal.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerInternal.h b/src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerInternal.h index a35da277..f6fc33e1 100644 --- a/src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerInternal.h +++ b/src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerInternal.h @@ -119,13 +119,9 @@ struct LatteDecompilerCFInstruction cemu_assert_debug(!(instructionsALU.size() != 0 && instructionsTEX.size() != 0)); // make sure we dont accidentally added the wrong instruction type } -#if BOOST_OS_WINDOWS - LatteDecompilerCFInstruction(LatteDecompilerCFInstruction& mE) = default; - LatteDecompilerCFInstruction(LatteDecompilerCFInstruction&& mE) = default; -#else LatteDecompilerCFInstruction(const LatteDecompilerCFInstruction& mE) = default; - constexpr LatteDecompilerCFInstruction(LatteDecompilerCFInstruction&& mE) = default; -#endif + LatteDecompilerCFInstruction(LatteDecompilerCFInstruction&& mE) = default; + LatteDecompilerCFInstruction& operator=(LatteDecompilerCFInstruction&& mE) = default; };