From: Jérémie Galarneau Date: Fri, 22 Mar 2024 19:27:08 +0000 (-0400) Subject: CodingStyle.md: remove redundant virtual specifier X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c1d4a65abf4f5ba09ac769e22f8dd17fea673d76;p=lttng-tools.git CodingStyle.md: remove redundant virtual specifier 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 --- 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: