mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
GH-1034: Revert TypeList::Types() back to return a type_list* and mark it deprecated
This commit is contained in:
parent
a5a51de3c4
commit
e1338cc379
15 changed files with 82 additions and 71 deletions
|
@ -12,7 +12,7 @@ static bool is_string_set(const zeek::Type* type)
|
|||
if ( ! type->IsSet() )
|
||||
return false;
|
||||
|
||||
const auto& index_types = type->AsSetType()->IndexTypes();
|
||||
const auto& index_types = type->AsSetType()->GetIndexTypes();
|
||||
|
||||
if ( index_types.size() != 1 )
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue