Deprecate VectorVal::Lookup(), replace with At()

This commit is contained in:
Jon Siwek 2020-05-21 17:03:46 -07:00
parent 69533bcbc6
commit a384bb8b81
16 changed files with 74 additions and 69 deletions

View file

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