GH-1034: Revert TypeList::Types() back to return a type_list* and mark it deprecated

This commit is contained in:
Tim Wojtulewicz 2020-06-27 10:41:35 -07:00
parent a5a51de3c4
commit e1338cc379
15 changed files with 82 additions and 71 deletions

View file

@ -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;