mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
explicitly populate holes created in vectors
This commit is contained in:
parent
2f47cce8a6
commit
6aab151d97
4 changed files with 106 additions and 5 deletions
|
@ -1571,6 +1571,9 @@ private:
|
|||
// element type-checked.
|
||||
bool CheckElementType(const ValPtr& element);
|
||||
|
||||
// Add the given number of "holes" to the end of a vector.
|
||||
void AddHoles(int nholes);
|
||||
|
||||
std::vector<ZVal>* vector_val;
|
||||
|
||||
// For homogeneous vectors (the usual case), the type of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue