mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
|
@ -1352,7 +1352,7 @@ string CPPCompile::GenEnum(const TypePtr& t, const ValPtr& ev)
|
|||
mapping_slot = num_ev_mappings++;
|
||||
|
||||
string enum_name = et->Lookup(v);
|
||||
enum_names.emplace_back(pair(TypeOffset(t), move(enum_name)));
|
||||
enum_names.emplace_back(pair(TypeOffset(t), std::move(enum_name)));
|
||||
|
||||
if ( evm != enum_val_mappings.end() )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue