mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-12-27 01:34:55 +01:00
basic_block: Mark move constructor and assignment as noexcept
Allows the type to play nicely with standard library facilities better (also we shouldn't be throwing in move operations to begin with).
This commit is contained in:
parent
34f4d99454
commit
4f12e86ebb
2 changed files with 4 additions and 4 deletions
|
|
@ -27,9 +27,9 @@ Block::Block(const LocationDescriptor& location)
|
|||
|
||||
Block::~Block() = default;
|
||||
|
||||
Block::Block(Block&&) = default;
|
||||
Block::Block(Block&&) noexcept = default;
|
||||
|
||||
Block& Block::operator=(Block&&) = default;
|
||||
Block& Block::operator=(Block&&) noexcept = default;
|
||||
|
||||
void Block::AppendNewInst(Opcode opcode, std::initializer_list<IR::Value> args) {
|
||||
PrependNewInst(end(), opcode, args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue