Add some additional std::moves reported by Coverity

This commit is contained in:
Tim Wojtulewicz 2025-07-23 11:22:49 -07:00
parent 2ce26f1be0
commit 205c72d26f
19 changed files with 27 additions and 26 deletions

View file

@ -659,7 +659,7 @@ void analyze_scripts(bool no_unused_warnings) {
}
auto pfs = std::make_shared<ProfileFuncs>(funcs, nullptr, true, true);
analyze_scripts_for_ZAM(pfs);
analyze_scripts_for_ZAM(std::move(pfs));
if ( reporter->Errors() > 0 )
reporter->FatalError("Optimized script execution aborted due to errors");