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

@ -321,8 +321,8 @@ void Group::assign(int narg, char **arg)
delta = values.next_tagint();
} else throw TokenizerException("Syntax error","");
} catch (TokenizerException &e) {
error->all(FLERR,fmt::format("Incorrect range string "
"'{}': {}",arg[iarg],e.what()));
error->all(FLERR,"Incorrect range string "
"'{}': {}",arg[iarg],e.what());
}
if (delta < 1)
error->all(FLERR,"Illegal range increment value");