mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
broker: Remove MakeEvent(ArgsSpan)
This was added previously in the 7.1 cycle. Now that MakeEvent() was removed from cluster::Backend, there's no need for Broker to provide this version.
This commit is contained in:
parent
a1d64ad6ae
commit
a233b50be1
2 changed files with 0 additions and 12 deletions
|
@ -862,10 +862,6 @@ RecordVal* Manager::MakeEvent(ValPList* args, zeek::detail::Frame* frame) {
|
|||
|
||||
zeek::RecordValPtr Manager::MakeEvent(ArgsSpan args, zeek::detail::Frame* frame) {
|
||||
scoped_reporter_location srl{frame};
|
||||
return MakeEvent(args);
|
||||
}
|
||||
|
||||
zeek::RecordValPtr Manager::MakeEvent(ArgsSpan args) {
|
||||
auto rval = zeek::make_intrusive<RecordVal>(BifType::Record::Broker::Event);
|
||||
auto arg_vec = make_intrusive<VectorVal>(vector_of_data_type);
|
||||
rval->Assign(1, arg_vec);
|
||||
|
|
|
@ -268,14 +268,6 @@ public:
|
|||
|
||||
using ArgsSpan = Span<const ValPtr>;
|
||||
|
||||
/**
|
||||
* Create an `Event` record value from an event and its arguments.
|
||||
* @param args A span pointing at the event arguments.
|
||||
* @return an `Event` record value. If an invalid event or arguments
|
||||
* were supplied the optional "name" field will not be set.
|
||||
*/
|
||||
zeek::RecordValPtr MakeEvent(ArgsSpan args);
|
||||
|
||||
/**
|
||||
* Create an `Event` record value from an event and its arguments.
|
||||
* @param args A span pointing at the event arguments.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue