clang-tidy: override
[alexxy/gromacs.git] / src / gromacs / commandline / cmdlinehelpwriter.cpp
index 0dcf90b666bbd587f4dc61fb89f7344fb63a1232..f51d0ba3235f480c493e963d965b89c48ba45b98 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -136,8 +136,8 @@ class OptionsFilter : public OptionsVisitor
                             IOptionsFormatter         *formatter,
                             const Options             &options);
 
-        virtual void visitSection(const OptionSectionInfo &section);
-        virtual void visitOption(const OptionInfo &option);
+        void visitSection(const OptionSectionInfo &section) override;
+        void visitOption(const OptionInfo &option) override;
 
     private:
         IOptionsFormatter              *formatter_;
@@ -314,7 +314,7 @@ class SynopsisFormatter : public IOptionsFormatter
         //! Finishes formatting the synopsis.
         void finish();
 
-        virtual void formatOption(const OptionInfo &option);
+        void formatOption(const OptionInfo &option) override;
 
     private:
         const HelpWriterContext &context_;
@@ -411,7 +411,7 @@ class OptionsListFormatter : public IOptionsFormatter
             }
         }
 
-        virtual void formatOption(const OptionInfo &option);
+        void formatOption(const OptionInfo &option) override;
 
     private:
         void writeSectionStartIfNecessary()