use initializer list instead of explicit constructor

This commit is contained in:
Axel Kohlmeyer
2021-10-14 01:12:44 -04:00
parent 27145d2789
commit e56cc9be00
4 changed files with 7 additions and 7 deletions

View File

@ -2035,7 +2035,7 @@ std::string Molecule::parse_keyword(int flag, char *line)
MPI_Bcast(&eof,1,MPI_INT,0,world);
if (eof) {
return std::string("");
return {""};
}
// bcast keyword line to all procs