[clang-tidy] Use override instead of virtual

Found with modernize-use-override
This commit is contained in:
Rosen Penev 2019-12-21 13:47:58 -08:00
parent f2e7def667
commit 856fa0ca42
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B

View File

@ -848,7 +848,7 @@ class env_stack_impl_t final : public env_scoped_impl_t {
return make_unique<env_stack_impl_t>(std::move(local), s_global_node);
}
virtual ~env_stack_impl_t() = default;
~env_stack_impl_t() override = default;
private:
/// The scopes of caller functions, which are currently shadowed.