shader: Add copy constructor to instructions

This commit is contained in:
ReinUsesLisp
2021-07-25 21:34:17 -03:00
committed by Fernando Sahmkow
parent 95761cc6a7
commit c892359d1b
4 changed files with 20 additions and 1 deletions

View File

@ -116,10 +116,10 @@ public:
class Inst : public boost::intrusive::list_base_hook<> {
public:
explicit Inst(IR::Opcode op_, u32 flags_) noexcept;
explicit Inst(const Inst& base);
~Inst();
Inst& operator=(const Inst&) = delete;
Inst(const Inst&) = delete;
Inst& operator=(Inst&&) = delete;
Inst(Inst&&) = delete;