mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 08:43:09 -03:00
[clang-tidy] Use override instead of virtual
Found with modernize-use-override
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user