Fixes for clang-tidy-9
[alexxy/gromacs.git] / src / gromacs / coordinateio / tests / requirements.h
index da4dd48b157667a0c4b3ebf84ca4924c2589a7d9..9afbfbf243e4bd81465d3c6487335f9ac680260a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, 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.
@@ -126,7 +126,10 @@ public:
      * \param[in] options      Container for options.
      * \param[in] type         Need to know type of entries.
      */
-    void setModuleFlag(const std::string& optionName, const std::string& optionValues, Options* options, TestEnums type)
+    static void setModuleFlag(const std::string& optionName,
+                              const std::string& optionValues,
+                              Options*           options,
+                              TestEnums          type)
     {
         OptionsAssigner assigner(options);
         assigner.start();