clang-tidy: override
[alexxy/gromacs.git] / src / gromacs / utility / programcontext.cpp
index 7ec9df222f87731e1f60a13ee3dbd6da77ad5589..0cae677d3df2c1cd1c8437f37b6aef425809534f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2013,2014,2015,2017, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,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.
@@ -67,14 +67,14 @@ class DefaultProgramContext : public IProgramContext
     public:
         DefaultProgramContext() {}
 
-        virtual const char *programName() const { return "GROMACS"; }
-        virtual const char *displayName() const { return "GROMACS"; }
-        virtual const char *fullBinaryPath() const { return ""; }
-        virtual InstallationPrefixInfo installationPrefix() const
+        const char *programName() const override { return "GROMACS"; }
+        const char *displayName() const override { return "GROMACS"; }
+        const char *fullBinaryPath() const override { return ""; }
+        InstallationPrefixInfo installationPrefix() const override
         {
             return InstallationPrefixInfo("", false);
         }
-        virtual const char *commandLine() const { return ""; }
+        const char *commandLine() const override { return ""; }
 };
 
 //! Global program info; stores the object set with setProgramContext().