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