mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove all of the random single-file deprecations
These are the changes that don't require a ton of changes to other files outside of the original removal.
This commit is contained in:
parent
7e9d89db0a
commit
0618be792f
270 changed files with 36 additions and 4632 deletions
|
@ -25,17 +25,9 @@ public:
|
|||
// or nullptr if it fails to typecheck.
|
||||
std::unique_ptr<HashKey> MakeHashKey(const Val& v, bool type_check) const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use MakeHashKey().")]]
|
||||
HashKey* ComputeHash(const Val* v, bool type_check) const
|
||||
{ return MakeHashKey(*v, type_check).release(); }
|
||||
|
||||
// Given a hash key, recover the values used to create it.
|
||||
ListValPtr RecoverVals(const HashKey& k) const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Pass in HashKey& instead.")]]
|
||||
ListValPtr RecoverVals(const HashKey* k) const
|
||||
{ return RecoverVals(*k); }
|
||||
|
||||
unsigned int MemoryAllocation() const { return padded_sizeof(*this) + util::pad_size(size); }
|
||||
|
||||
protected:
|
||||
|
@ -107,5 +99,3 @@ protected:
|
|||
};
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
||||
using CompositeHash [[deprecated("Remove in v4.1. Use zeek::detail::CompositeHash.")]] = zeek::detail::CompositeHash;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue