clang-tidy: override
[alexxy/gromacs.git] / src / testutils / testexceptions.h
index e4822e0a803d93e3d1410833b9f39e0dd99380b6..fdd595cc3d80d530ff9da3b0b395ef64ccf01634 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2011,2012,2015, by the GROMACS development team, led by
+ * Copyright (c) 2011,2012,2015,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.
@@ -80,7 +80,7 @@ class TestException : public GromacsException
         explicit TestException(const GromacsException &base)
             : GromacsException(base) {}
 
-        virtual int errorCode() const { return -1; }
+        int errorCode() const override { return -1; }
 };
 
 /*! \brief