Remove deprecated MemoryAllocation() methods and related code

This commit is contained in:
Tim Wojtulewicz 2022-06-15 14:54:47 -07:00
parent d3169e48c0
commit 70e63d4749
39 changed files with 15 additions and 659 deletions

View file

@ -294,11 +294,6 @@ void String::ToUpper()
b[i] = toupper(b[i]);
}
unsigned int String::MemoryAllocation() const
{
return padded_sizeof(*this) + util::pad_size(n + final_NUL);
}
String* String::GetSubstring(int start, int len) const
{
// This code used to live in zeek.bif's sub_bytes() routine.