mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Remove deprecated MemoryAllocation() methods and related code
This commit is contained in:
parent
d3169e48c0
commit
70e63d4749
39 changed files with 15 additions and 659 deletions
|
@ -157,15 +157,6 @@ void NFA_State::Dump(FILE* f)
|
|||
xtions[i]->Dump(f);
|
||||
}
|
||||
|
||||
unsigned int NFA_State::TotalMemoryAllocation() const
|
||||
{
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
return padded_sizeof(*this) + xtions.MemoryAllocation() - padded_sizeof(xtions) +
|
||||
(epsclosure ? epsclosure->MemoryAllocation() : 0);
|
||||
#pragma GCC diagnostic pop
|
||||
}
|
||||
|
||||
NFA_Machine::NFA_Machine(NFA_State* first, NFA_State* final)
|
||||
{
|
||||
first_state = first;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue