clang-tidy: override
[alexxy/gromacs.git] / src / testutils / filematchers.cpp
index cd68d3877d6e9e6bd43cb12a130bb96c5d9a8590..27c011a6c14bb923c59c4e7848f1a97369e4da93 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2017, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -63,8 +63,8 @@ class TextFileMatcher : public IFileMatcher
         {
         }
 
-        virtual void checkFile(const std::string    &path,
-                               TestReferenceChecker *checker)
+        void checkFile(const std::string    &path,
+                       TestReferenceChecker *checker) override
         {
             TextInputFile stream(path);
             matcher_->checkStream(&stream, checker);