diff --git a/src/tint/ir/instruction.h b/src/tint/ir/instruction.h index 461b1f707b..0cb5f821e0 100644 --- a/src/tint/ir/instruction.h +++ b/src/tint/ir/instruction.h @@ -68,7 +68,7 @@ class Instruction : public Castable { /// @param instr the instruction to move from Instruction(Instruction&& instr); /// Destructor - ~Instruction(); + ~Instruction() override; /// Copy assign /// @param instr the instruction to copy from diff --git a/src/tint/ir/value.h b/src/tint/ir/value.h index 326931f70b..69ef8dd3a6 100644 --- a/src/tint/ir/value.h +++ b/src/tint/ir/value.h @@ -25,7 +25,7 @@ namespace tint::ir { class Value : public Castable { public: /// Destructor - virtual ~Value(); + ~Value() override; Value(const Value&) = delete; Value(Value&&) = delete;