mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
GH-1528: Remove broken Queue/PQueue class, replace with std::deque
This commit is contained in:
parent
b44ae62ce4
commit
9dee652444
8 changed files with 22 additions and 21 deletions
|
@ -150,7 +150,7 @@ bool Stmt::SetLocationInfo(const Location* start, const Location* end)
|
|||
// Optimistically just put it at the end.
|
||||
map.push_back(new_mapping);
|
||||
|
||||
int curr_idx = map.length() - 1;
|
||||
size_t curr_idx = map.size() - 1;
|
||||
if ( curr_idx == 0 )
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue