mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Add some additional std::moves reported by Coverity
This commit is contained in:
parent
2ce26f1be0
commit
205c72d26f
19 changed files with 27 additions and 26 deletions
|
@ -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 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue