Fixes for clang-tidy-9
[alexxy/gromacs.git] / src / gromacs / selection / selectioncollection_impl.h
index 4c79e66c6f6110e4c6fae0d1564e6ad2f7e7dc2f..f5cec6b3a00b9ee3ed4e112799b86cad102c48a3 100644 (file)
@@ -160,8 +160,8 @@ public:
     /*! \brief
      * Returns topology properties needed for a certain position type.
      */
-    SelectionTopologyProperties requiredTopologyPropertiesForPositionType(const std::string& post,
-                                                                          bool forces) const;
+    static SelectionTopologyProperties requiredTopologyPropertiesForPositionType(const std::string& post,
+                                                                                 bool forces);
 
     //! Describes the available debugging levels
     enum class DebugLevel : int