diff --git a/src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerInternal.h b/src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerInternal.h index f6fc33e1..3dc3eca6 100644 --- a/src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerInternal.h +++ b/src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerInternal.h @@ -119,8 +119,13 @@ 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; LatteDecompilerCFInstruction(LatteDecompilerCFInstruction&& mE) = default; +#endif LatteDecompilerCFInstruction& operator=(LatteDecompilerCFInstruction&& mE) = default; };