mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Deprecate VectorVal::Lookup(), replace with At()
This commit is contained in:
parent
69533bcbc6
commit
a384bb8b81
16 changed files with 74 additions and 69 deletions
|
@ -360,7 +360,7 @@ BroString::Vec* BroString::VecFromPolicy(VectorVal* vec)
|
|||
// VectorVals start at index 1!
|
||||
for ( unsigned int i = 1; i <= vec->Size(); ++i )
|
||||
{
|
||||
Val* v = vec->Lookup(i); // get the RecordVal
|
||||
const auto& v = vec->At(i); // get the RecordVal
|
||||
if ( ! v )
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue