mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Switch VectorVal BroValUnion to store std::vector<IntrusivePtr<Val>>
This changes the return type of AsVector() from std::vector<Val*>*
This commit is contained in:
parent
40db09ccbf
commit
69533bcbc6
5 changed files with 27 additions and 47 deletions
|
@ -705,7 +705,7 @@ function str_smith_waterman%(s1: string, s2: string, params: sw_params%) : sw_su
|
|||
## .. zeek:see:: split_string split_string1 split_string_all split_string_n
|
||||
function str_split%(s: string, idx: index_vec%): string_vec
|
||||
%{
|
||||
vector<Val*>* idx_v = idx->AsVector();
|
||||
auto idx_v = idx->AsVector();
|
||||
BroString::IdxVec indices(idx_v->size());
|
||||
unsigned int i;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue