Fixes for clang-tidy-9
[alexxy/gromacs.git] / src / gromacs / applied_forces / tests / densityfittingoptions.cpp
index 4dcc3c5873a399ae2e1883a3d169c362e941194e..6580498ba5caaad19f99c8db98bb0cc8a3df3f2e 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.
@@ -91,7 +91,7 @@ public:
         assignOptionsFromKeyValueTree(&densityFittingModuleOptions, transformedMdpValues.object(), nullptr);
     }
 
-    KeyValueTreeObject densityFittingSetActiveAsMdpValues()
+    static KeyValueTreeObject densityFittingSetActiveAsMdpValues()
     {
         // Prepare MDP inputs
         KeyValueTreeBuilder mdpValueBuilder;