mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Deprecate BroFile::FType(), replace with GetType()
This commit is contained in:
parent
688bed97bc
commit
6aa1d0468d
2 changed files with 5 additions and 1 deletions
|
@ -37,8 +37,12 @@ public:
|
|||
|
||||
void SetBuf(bool buffered); // false=line buffered, true=fully buffered
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetType().")]]
|
||||
BroType* FType() const { return t.get(); }
|
||||
|
||||
const IntrusivePtr<BroType>& GetType() const
|
||||
{ return t; }
|
||||
|
||||
// Whether the file is open in a general sense; it might
|
||||
// not be open as a Unix file due to our management of
|
||||
// a finite number of FDs.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue