clang-tidy: override
[alexxy/gromacs.git] / src / gromacs / selection / selhelp.cpp
index d807f042f4c7048eeed5d86b1b55b157eda3b07b..c99411c744e9048f11e3e16d5e9908a89e619ce9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -552,17 +552,17 @@ class KeywordDetailsHelpTopic : public AbstractSimpleHelpTopic
         {
         }
 
-        virtual const char *name() const
+        const char *name() const override
         {
             return name_.c_str();
         }
-        virtual const char *title() const
+        const char *title() const override
         {
             return method_.help.helpTitle;
         }
 
     protected:
-        virtual std::string helpText() const
+        std::string helpText() const override
         {
             return joinStrings(method_.help.help,
                                method_.help.help + method_.help.nlhelp, "\n");
@@ -585,7 +585,7 @@ class KeywordsHelpTopic : public CompositeHelpTopic<KeywordsHelpText>
     public:
         KeywordsHelpTopic();
 
-        virtual void writeHelp(const HelpWriterContext &context) const;
+        void writeHelp(const HelpWriterContext &context) const override;
 
     private:
         /*! \brief