Use varargs version of Error:all() and Error::one() where applicable
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user