mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Deprecate ComputeHash(Val*) methods, replace with ComputeHash(Val&)
This commit is contained in:
parent
e5f66cd2e6
commit
e01d2c1b37
9 changed files with 29 additions and 22 deletions
|
@ -892,7 +892,11 @@ public:
|
|||
timer = nullptr;
|
||||
}
|
||||
|
||||
HashKey* ComputeHash(const Val* index) const;
|
||||
HashKey* ComputeHash(const Val& index) const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Pass a Val& instead.")]]
|
||||
HashKey* ComputeHash(const Val* index) const
|
||||
{ return ComputeHash(*index); }
|
||||
|
||||
notifier::Modifiable* Modifiable() override { return this; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue