remove redundant calls to fmt::format() from calls to error->one/all() and utils::logmesg()

This commit is contained in:
Axel Kohlmeyer
2023-09-26 23:56:51 -04:00
parent 6115edefcb
commit 5a455c5e3a
19 changed files with 57 additions and 70 deletions

View File

@ -364,7 +364,7 @@ void ReadData::command(int narg, char **arg)
// check if data file is available and readable
if (!platform::file_is_readable(arg[0]))
error->all(FLERR, fmt::format("Cannot open file {}: {}", arg[0], utils::getsyserror()));
error->all(FLERR, "Cannot open file {}: {}", arg[0], utils::getsyserror());
// reset so we can warn about reset image flags exactly once per data file