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

@ -288,8 +288,8 @@ void DumpNetCDF::openfile()
// Fixme! Perform checks if dimensions and variables conform with
// data structure standard.
if (not utils::file_is_readable(filecurrent))
error->all(FLERR, fmt::format("cannot append to non-existent file {}",
filecurrent));
error->all(FLERR, "cannot append to non-existent file {}",
filecurrent);
if (singlefile_opened) return;
singlefile_opened = 1;