mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Switch Func::Call(val_list*) back to returning Val*
And renamed the method returning IntrusivePtr to operator(). This corrects the deprecation process for Func::Call(val_list*).
This commit is contained in:
parent
85a0ddd62d
commit
087a0f3636
15 changed files with 43 additions and 44 deletions
|
@ -552,8 +552,8 @@ bool Manager::PublishLogWrite(EnumVal* stream, EnumVal* writer, string path, int
|
|||
std::string serial_data(data, len);
|
||||
free(data);
|
||||
|
||||
auto v = log_topic_func->Call(IntrusivePtr{NewRef{}, stream},
|
||||
make_intrusive<StringVal>(path));
|
||||
auto v = log_topic_func->operator()(IntrusivePtr{NewRef{}, stream},
|
||||
make_intrusive<StringVal>(path));
|
||||
|
||||
if ( ! v )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue