more clang-tidy fixes after re-running it with added settings

This commit is contained in:
Axel Kohlmeyer
2022-05-14 06:15:41 -04:00
parent 2f0baa86d6
commit d4ea5ca49e
66 changed files with 117 additions and 229 deletions

View File

@ -286,7 +286,7 @@ bigint ReadDump::seek(bigint nrequest, int exact)
if (multiproc) {
std::string multiname = files[ifile];
multiname.replace(multiname.find('%'),1,"0");
readers[0]->open_file(multiname.c_str());
readers[0]->open_file(multiname);
} else readers[0]->open_file(files[ifile]);
while (true) {
@ -330,7 +330,7 @@ bigint ReadDump::seek(bigint nrequest, int exact)
if (me == 0 && i == 0) continue; // proc 0, reader 0 already found it
std::string multiname = files[currentfile];
multiname.replace(multiname.find('%'),1,fmt::format("{}",firstfile+i));
readers[i]->open_file(multiname.c_str());
readers[i]->open_file(multiname);
bigint step;
while (true) {
@ -378,7 +378,7 @@ bigint ReadDump::next(bigint ncurrent, bigint nlast, int nevery, int nskip)
if (multiproc) {
std::string multiname = files[ifile];
multiname.replace(multiname.find('%'),1,"0");
readers[0]->open_file(multiname.c_str());
readers[0]->open_file(multiname);
} else readers[0]->open_file(files[ifile]);
}
@ -432,7 +432,7 @@ bigint ReadDump::next(bigint ncurrent, bigint nlast, int nevery, int nskip)
if (me == 0 && i == 0) continue;
std::string multiname = files[currentfile];
multiname.replace(multiname.find('%'),1,fmt::format("{}",firstfile+i));
readers[i]->open_file(multiname.c_str());
readers[i]->open_file(multiname);
bigint step;
while (true) {