mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Deprecate returning Val* from BIFs
This commit is contained in:
parent
6c0a9b0d8f
commit
80d3918b13
3 changed files with 8 additions and 0 deletions
|
@ -891,6 +891,9 @@ function_ingredients::~function_ingredients()
|
|||
delete inits;
|
||||
}
|
||||
|
||||
BifReturnVal::BifReturnVal(std::nullptr_t) noexcept
|
||||
{ }
|
||||
|
||||
BifReturnVal::BifReturnVal(Val* v) noexcept
|
||||
: rval(AdoptRef{}, v)
|
||||
{ }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue