mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18: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
|
@ -271,13 +271,6 @@ public:
|
|||
size_t Size() const { return size; }
|
||||
hash_t Hash() const;
|
||||
|
||||
[[deprecated("Remove in v5.1. MemoryAllocation() is deprecated and will be removed. See "
|
||||
"GHI-572.")]] unsigned int
|
||||
MemoryAllocation() const
|
||||
{
|
||||
return padded_sizeof(*this) + util::pad_size(size);
|
||||
}
|
||||
|
||||
static hash_t HashBytes(const void* bytes, size_t size);
|
||||
|
||||
// A HashKey is "allocated" when the underlying key points somewhere
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue