more clang-tidy fixes

This commit is contained in:
Axel Kohlmeyer
2022-05-13 21:12:48 -04:00
parent 9c16819305
commit 940e88d2ca
67 changed files with 42 additions and 249 deletions

View File

@ -40,7 +40,7 @@ namespace LAMMPS_NS {
class DumpCustomADIOSInternal {
public:
DumpCustomADIOSInternal(){};
DumpCustomADIOSInternal() = default;
~DumpCustomADIOSInternal() = default;
// name of adios group, referrable in adios2_config.xml
@ -76,7 +76,7 @@ DumpCustomADIOS::DumpCustomADIOS(LAMMPS *lmp, int narg, char **arg) : DumpCustom
}
internal->columnNames.reserve(nfield);
for (int i = 0; i < nfield; ++i) { internal->columnNames.push_back(earg[i]); }
for (int i = 0; i < nfield; ++i) { internal->columnNames.emplace_back(earg[i]); }
}
/* ---------------------------------------------------------------------- */