mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
More std::move changes based on Coverity findings
This commit is contained in:
parent
2390625732
commit
34ee136a3c
19 changed files with 48 additions and 45 deletions
|
@ -35,7 +35,7 @@ void CPPCompile::CreateGlobal(const ID* g) {
|
|||
|
||||
auto gi = GenerateGlobalInit(g);
|
||||
global_id_info->AddInstance(gi);
|
||||
global_gis[g] = gi;
|
||||
global_gis[g] = std::move(gi);
|
||||
}
|
||||
|
||||
if ( is_bif )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue