Apply clang-11 fixes for fileio
[alexxy/gromacs.git] / src / gromacs / fileio / tests / filemd5.cpp
index 8c6042eee249229a5e8f09d29cfc31a141208c5c..841fe4c5c4addc05fc70c971a093fa8ef3492c1e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2021, 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,7 +67,7 @@ namespace
 class FileMD5Test : public ::testing::Test
 {
 public:
-    void prepareFile(int lengthInBytes)
+    void prepareFile(int lengthInBytes) const
     {
         // Fill some memory with some arbitrary bits.
         std::vector<char> data(lengthInBytes);