mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
make deprecation advice a bit more helpful
This commit is contained in:
parent
a21d14fbd2
commit
da72c1ea93
1 changed files with 4 additions and 2 deletions
|
@ -89,12 +89,14 @@ public:
|
|||
bool Cache(const void* obj, Val* val);
|
||||
Val* Lookup(const void* obj);
|
||||
|
||||
[[deprecated("Remove in v5.1. Use const void* interface instead.")]] bool
|
||||
[[deprecated(
|
||||
"Remove in v5.1. Use Frame::GetTriggerAssoc() / const void* interface instead.")]] bool
|
||||
Cache(const CallExpr* call, Val* val)
|
||||
{
|
||||
return Cache((const void*)call, val);
|
||||
}
|
||||
[[deprecated("Remove in v5.1. Use const void* interface instead.")]] Val*
|
||||
[[deprecated(
|
||||
"Remove in v5.1. Use Frame::GetTriggerAssoc() / const void* interface instead.")]] Val*
|
||||
Lookup(const CallExpr* call)
|
||||
{
|
||||
return Lookup((const void*)call);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue