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

@ -308,8 +308,8 @@ void ProcMap::custom_grid(char *cfile, int nprocs,
procgrid[1] = procs.next_int();
procgrid[2] = procs.next_int();
} catch (TokenizerException &e) {
error->all(FLERR,fmt::format("Processors custom grid file "
"is inconsistent: {}", e.what()));
error->all(FLERR,"Processors custom grid file "
"is inconsistent: {}", e.what());
}
int flag = 0;
@ -337,8 +337,8 @@ void ProcMap::custom_grid(char *cfile, int nprocs,
cmap[i][2] = pmap.next_int();
cmap[i][3] = pmap.next_int();
} catch (TokenizerException &e) {
error->one(FLERR,fmt::format("Processors custom grid file is "
"inconsistent: {}", e.what()));
error->one(FLERR,"Processors custom grid file is "
"inconsistent: {}", e.what());
}
}
fclose(fp);