Came up during other builds, but didn't make any sense.
Change-Id: Ie57f4ce30d35dbb1db927b91902045fbbcffe8f0
{
GMX_ASSERT(iparams.size() == functype.size(), "Parameters and function types go together");
- return gmx::ssize(functype);
+ return static_cast<int>(functype.size());
}
/* TODO: Consider merging functype and iparams, either by storing
struct InteractionList
{
/* Returns the total number of elements in iatoms */
- int size() const { return gmx::ssize(iatoms); }
+ int size() const { return static_cast<int>(iatoms.size()); }
/* List of interactions, see explanation further down */
std::vector<int> iatoms;
*/
int numberOfGroupNumbers(SimulationAtomGroupType group) const
{
- return gmx::ssize(groupNumbers[group]);
+ return static_cast<int>(groupNumbers[group].size());
}
};