Skip to content

Commit

Permalink
Add missing overrides (KhronosGroup#2041)
Browse files Browse the repository at this point in the history
  • Loading branch information
dj2 authored Nov 12, 2018
1 parent 75999d9 commit f343a15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/opt/inst_bindless_check_pass.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class InstBindlessCheckPass : public InstrumentPass {
InstBindlessCheckPass(uint32_t desc_set, uint32_t shader_id)
: InstrumentPass(desc_set, shader_id, kInstValidationIdBindless) {}

~InstBindlessCheckPass() = default;
~InstBindlessCheckPass() override = default;

// See optimizer.hpp for pass user documentation.
Status Process() override;
Expand Down
2 changes: 1 addition & 1 deletion source/opt/instrument_pass.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class InstrumentPass : public Pass {
BasicBlock::iterator, UptrVectorIterator<BasicBlock>, uint32_t, uint32_t,
std::vector<std::unique_ptr<BasicBlock>>*)>;

virtual ~InstrumentPass() = default;
~InstrumentPass() override = default;

IRContext::Analysis GetPreservedAnalyses() override {
return IRContext::kAnalysisDefUse |
Expand Down

0 comments on commit f343a15

Please sign in to comment.