mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Move IntrusivePtr and utility methods to the zeek namespace
This commit is contained in:
parent
4668378d91
commit
9364e6a5b7
255 changed files with 3761 additions and 3730 deletions
|
@ -47,7 +47,7 @@ void PcapSource::Close()
|
|||
Closed();
|
||||
|
||||
if ( Pcap::file_done )
|
||||
mgr.Enqueue(Pcap::file_done, make_intrusive<StringVal>(props.path));
|
||||
mgr.Enqueue(Pcap::file_done, zeek::make_intrusive<StringVal>(props.path));
|
||||
}
|
||||
|
||||
void PcapSource::OpenLive()
|
||||
|
|
|
@ -96,8 +96,8 @@ function error%(%): string
|
|||
{
|
||||
const char* err = ps->ErrorMsg();
|
||||
if ( *err )
|
||||
return make_intrusive<StringVal>(err);
|
||||
return zeek::make_intrusive<StringVal>(err);
|
||||
}
|
||||
|
||||
return make_intrusive<StringVal>("no error");
|
||||
return zeek::make_intrusive<StringVal>("no error");
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue