Use varargs version of Error:all() and Error::one() where applicable

This commit is contained in:
Axel Kohlmeyer
2021-04-25 21:30:51 -04:00
parent 4cbe6200d6
commit e9e0bb71b6
117 changed files with 522 additions and 524 deletions

View File

@ -77,8 +77,8 @@ void FixEnforce2D::init()
if (myindex < 0)
flist[nfixlist++] = modify->fix[i];
else
error->all(FLERR,fmt::format("Fix enforce2d must be defined after fix {}",
modify->fix[i]->style));
error->all(FLERR,"Fix enforce2d must be defined after fix {}",
modify->fix[i]->style);
}
if (modify->fix[i] == this) myindex = i;
}