mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
EventTrace: take size_t as a constructor argument instead of int
This commit is contained in:
parent
718cced7cd
commit
8e078299eb
2 changed files with 2 additions and 2 deletions
|
@ -722,7 +722,7 @@ std::string DeltaVectorCreate::Generate(ValTraceMgr* vtm) const
|
|||
return std::string(" = vector(") + vec + ")";
|
||||
}
|
||||
|
||||
EventTrace::EventTrace(const ScriptFunc* _ev, double _nt, int event_num) : ev(_ev), nt(_nt)
|
||||
EventTrace::EventTrace(const ScriptFunc* _ev, double _nt, size_t event_num) : ev(_ev), nt(_nt)
|
||||
{
|
||||
auto ev_name = std::regex_replace(ev->Name(), std::regex(":"), "_");
|
||||
|
||||
|
|
|
@ -308,7 +308,7 @@ public:
|
|||
// Constructed in terms of the associated script function, "network
|
||||
// time" when the event occurred, and the position of this event
|
||||
// within all of those being traced.
|
||||
EventTrace(const ScriptFunc* _ev, double _nt, int event_num);
|
||||
EventTrace(const ScriptFunc* _ev, double _nt, size_t event_num);
|
||||
|
||||
// Sets a string representation of the arguments (values) being
|
||||
// passed to the event.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue