mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14: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
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue