mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Fix a bunch of -Wunqualified-std-cast-call warnings from clang 15
This commit is contained in:
parent
96bbb96b35
commit
7aa310ee50
13 changed files with 98 additions and 93 deletions
|
@ -526,7 +526,7 @@ void CPP_GlobalInit::Generate(InitsManager* im, std::vector<void*>& /* inits_vec
|
|||
|
||||
auto sf = make_intrusive<ScriptFunc>(fn, ft, no_bodies, no_priorities);
|
||||
|
||||
auto v = make_intrusive<FuncVal>(move(sf));
|
||||
auto v = make_intrusive<FuncVal>(std::move(sf));
|
||||
global->SetVal(v);
|
||||
}
|
||||
}
|
||||
|
@ -561,7 +561,7 @@ void generate_indices_set(int* inits, std::vector<std::vector<int>>& indices_set
|
|||
indices.push_back(i_ptr[i]);
|
||||
i_ptr += n;
|
||||
|
||||
indices_set.emplace_back(move(indices));
|
||||
indices_set.emplace_back(std::move(indices));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue