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

@ -136,7 +136,7 @@ bool ScriptCoverageManager::WriteStats() {
auto ft = func->GetType<FuncType>();
auto desc = ft->FlavorString() + " " + func->Name() + " BODY";
TrackUsage(body, desc, body->GetAccessCount());
TrackUsage(body, std::move(desc), body->GetAccessCount());
}
for ( const auto& [cond_loc, text, was_true] : cond_instances )