diff --git a/src/frontend/ir/basic_block.cpp b/src/frontend/ir/basic_block.cpp index 433eb08f..b7615f52 100644 --- a/src/frontend/ir/basic_block.cpp +++ b/src/frontend/ir/basic_block.cpp @@ -27,9 +27,9 @@ Block::Block(const LocationDescriptor& location) Block::~Block() = default; -Block::Block(Block&&) noexcept = default; +Block::Block(Block&&) = default; -Block& Block::operator=(Block&&) noexcept = default; +Block& Block::operator=(Block&&) = default; void Block::AppendNewInst(Opcode opcode, std::initializer_list args) { PrependNewInst(end(), opcode, args); diff --git a/src/frontend/ir/basic_block.h b/src/frontend/ir/basic_block.h index 2ff554a8..ade9b15b 100644 --- a/src/frontend/ir/basic_block.h +++ b/src/frontend/ir/basic_block.h @@ -47,8 +47,8 @@ public: Block(const Block&) = delete; Block& operator=(const Block&) = delete; - Block(Block&&) noexcept; - Block& operator=(Block&&) noexcept; + Block(Block&&); + Block& operator=(Block&&); bool empty() const { return instructions.empty(); } size_type size() const { return instructions.size(); }