mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
[clang-tidy] Use override instead of virtual
Found with modernize-use-override
This commit is contained in:
parent
f2e7def667
commit
856fa0ca42
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user