CodingStyle.md: remove redundant virtual specifier
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 22 Mar 2024 19:27:08 +0000 (15:27 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 22 Mar 2024 19:27:08 +0000 (15:27 -0400)
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 <jeremie.galarneau@efficios.com>
Change-Id: I77dccde4dcf55591ac890bfa90aaeb1042e80d84

CodingStyle.md

index ea9e9d2cb472c24dd66f24618570782d541bb9b5..0aac92471eaa705840b56f99218c31e77c3b6017 100644 (file)
@@ -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:
This page took 0.025229 seconds and 4 git commands to generate.