From 856fa0ca42d326887cfc950babdf9f816b38b442 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 21 Dec 2019 13:47:58 -0800 Subject: [PATCH] [clang-tidy] Use override instead of virtual Found with modernize-use-override --- src/env.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env.cpp b/src/env.cpp index 831c42c4a..c44f574fa 100644 --- a/src/env.cpp +++ b/src/env.cpp @@ -848,7 +848,7 @@ class env_stack_impl_t final : public env_scoped_impl_t { return make_unique(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.