mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Copy and move constructors for clang-12, clang-14, gcc and msvc
This commit is contained in:
parent
fd013c40ab
commit
9810c36287
1 changed files with 5 additions and 0 deletions
|
@ -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
|
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(const LatteDecompilerCFInstruction& mE) = default;
|
||||||
LatteDecompilerCFInstruction(LatteDecompilerCFInstruction&& mE) = default;
|
LatteDecompilerCFInstruction(LatteDecompilerCFInstruction&& mE) = default;
|
||||||
|
#endif
|
||||||
|
|
||||||
LatteDecompilerCFInstruction& operator=(LatteDecompilerCFInstruction&& mE) = default;
|
LatteDecompilerCFInstruction& operator=(LatteDecompilerCFInstruction&& mE) = default;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue