Fix compiler warnings on windows
[alexxy/gromacs.git] / src / gromacs / topology / topology.h
index f883afb0d8b852c5b70f9d02377dc5bdd29b126a..d5b633ee061e9f7bae21e03ebed2b4d4d858e0f6 100644 (file)
@@ -132,7 +132,7 @@ struct SimulationGroups
      */
     int numberOfGroupNumbers(SimulationAtomGroupType group) const
     {
-        return gmx::ssize(groupNumbers[group]);
+        return static_cast<int>(groupNumbers[group].size());
     }
 };