Compilation was failing under certian situations since
a7e51062b4
because of the line
flags->resize(sizeNeededForBufferFlags(numAtoms),0);
since the second arg is expected to be of type gmx_bitmask_t to
match the type in the flags vector. This patch fixes by explicitly
passing a zeroed variable of the correct type.
static void resizeAndZeroBufferFlags(std::vector<gmx_bitmask_t>* flags, const int numAtoms)
{
flags->clear();
- flags->resize(sizeNeededForBufferFlags(numAtoms), 0);
+ flags->resize(sizeNeededForBufferFlags(numAtoms), gmx_bitmask_t{ 0 });
}