mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
Use type aliases for IntrusivePtr definitions
This commit is contained in:
parent
f6a251cdac
commit
ec9eff0bd5
180 changed files with 2026 additions and 1893 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "../zeek-config.h"
|
||||
|
||||
class RecordVal;
|
||||
using RecordValPtr = zeek::IntrusivePtr<RecordVal>;
|
||||
|
||||
namespace file_analysis {
|
||||
|
||||
|
@ -26,7 +27,7 @@ class Component : public zeek::plugin::Component,
|
|||
public plugin::TaggedComponent<file_analysis::Tag> {
|
||||
public:
|
||||
typedef Analyzer* (*factory_callback)(RecordVal* args, File* file);
|
||||
using factory_function = Analyzer* (*)(zeek::IntrusivePtr<RecordVal> args, File* file);
|
||||
using factory_function = Analyzer* (*)(RecordValPtr args, File* file);
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue