mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Remove GET_FIELD_AS macro, replace with template methods
This commit is contained in:
parent
a94fcad957
commit
4962986df1
15 changed files with 61 additions and 53 deletions
|
@ -120,7 +120,7 @@ void File::UpdateLastActivityTime()
|
|||
|
||||
double File::GetLastActivityTime() const
|
||||
{
|
||||
return val->GetTimeField(last_active_idx);
|
||||
return val->GetFieldAs<TimeVal>(last_active_idx);
|
||||
}
|
||||
|
||||
bool File::UpdateConnectionFields(Connection* conn, bool is_orig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue