From c1d4a65abf4f5ba09ac769e22f8dd17fea673d76 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 22 Mar 2024 15:27:08 -0400 Subject: [PATCH] CodingStyle.md: remove redundant virtual specifier MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The coding style mentions that override and virtual should not be used together (as virtual would be redundant). However, one of the examples commits that cardinal sin. Mea culpa. Signed-off-by: Jérémie Galarneau Change-Id: I77dccde4dcf55591ac890bfa90aaeb1042e80d84 --- CodingStyle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodingStyle.md b/CodingStyle.md index ea9e9d2cb..0aac92471 100644 --- a/CodingStyle.md +++ b/CodingStyle.md @@ -179,7 +179,7 @@ class thing_doer : public lttng::sessiond::doer { public: explicit thing_doer(const std::string& name); - virtual void do() override final; + void do() override final; const std::string& name() const; private: -- 2.34.1