Replace deprecated usage of BifFunc:: with zeek::BifFunc::

Names of functions also changed slightly, like bro_fmt -> fmt_bif.

Should generally be unusual/unexpected to see somone calling these
directly from C++ in their plugin, but since technically possible in
previous versions, I also removed the "private" restriction on accessing
the BifReturnVal member.
This commit is contained in:
Jon Siwek 2020-05-14 14:21:30 -07:00
parent 0db5c920f2
commit ca1e5fe4be
4 changed files with 6 additions and 10 deletions

View file

@ -206,10 +206,6 @@ public:
[[deprecated("Remove in v4.1. Return an IntrusivePtr instead.")]]
BifReturnVal(Val* v) noexcept;
private:
friend class BuiltinFunc;
IntrusivePtr<Val> rval;
};