[nostalgia] Remove std::move calls that suppressed copy elision
This commit is contained in:
@@ -97,7 +97,7 @@ static ox::Error copy(ox::FileSystem *src, ox::FileSystem *dest, const ox::Strin
|
||||
oxOutf("writing {}\n", currentFile);
|
||||
oxReturnError(dest->write(currentFile.c_str(), buff.data(), buff.size()));
|
||||
oxReturnError(verifyFile(dest, currentFile, buff));
|
||||
verificationPairs.emplace_back(currentFile, ox::move(buff));
|
||||
verificationPairs.emplace_back(currentFile, std::move(buff));
|
||||
}
|
||||
}
|
||||
// verify all at once in addition to right after the files are written
|
||||
|
||||
Reference in New Issue
Block a user