use emplace_back() instead of push_back()

This commit is contained in:
Axel Kohlmeyer
2021-10-14 01:30:54 -04:00
parent 2106075320
commit d857685e74
6 changed files with 17 additions and 17 deletions

View File

@ -1252,7 +1252,7 @@ TEST(PairStyle, single)
int argc = sizeof(args) / sizeof(char *);
// need to add this dependency
test_config.prerequisites.push_back(std::make_pair("atom", "full"));
test_config.prerequisites.emplace_back("atom", "full");
// create a LAMMPS instance with standard settings to detect the number of atom types
if (!verbose) ::testing::internal::CaptureStdout();