Manage compiler flags and some include options per file or target, not globally
[alexxy/gromacs.git] / src / gromacs / topology / topology.h
index e4159ed6ea17c05b8225bcd80eada97bd7722527..5ed1fc9a24a610d6d2dc78dfb35edb8b8162923c 100644 (file)
@@ -129,7 +129,7 @@ struct SimulationGroups
      *
      * \param[in] group Integer value for the group type.
      */
-    int numberOfGroupNumbers(SimulationAtomGroupType group) const { return groupNumbers[group].size(); }
+    int numberOfGroupNumbers(SimulationAtomGroupType group) const { return gmx::ssize(groupNumbers[group]); }
 };
 
 /*! \brief