From 7654fc11a6442e6ee2a463d6dee6458c0f53768f Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 15 Jun 2018 00:45:10 +0200 Subject: =?UTF-8?q?Run=20clang-tidy=E2=80=99s=20modernize-use-override=20p?= =?UTF-8?q?ass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier. --- src/debug/sysv-heap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/debug/sysv-heap.h') diff --git a/src/debug/sysv-heap.h b/src/debug/sysv-heap.h index 4bde77cd8..baab0af5f 100644 --- a/src/debug/sysv-heap.h +++ b/src/debug/sysv-heap.h @@ -21,13 +21,13 @@ class SysVHeap : public Heap { public: SysVHeap() {} - int features() const; + int features() const override; - Util::ptr_shared name() const { + Util::ptr_shared name() const override { return Util::share_static_string("standard malloc()"); } - Stats stats() const; - void force_collect() {} + Stats stats() const override; + void force_collect() override {} }; } -- cgit v1.2.3