mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Obj: use C++ initializers
This commit is contained in:
parent
2ac48ff1d4
commit
97f07fa727
1 changed files with 2 additions and 5 deletions
|
@ -53,9 +53,6 @@ class BroObj {
|
|||
public:
|
||||
BroObj()
|
||||
{
|
||||
ref_cnt = 1;
|
||||
notify_plugins = false;
|
||||
|
||||
// A bit of a hack. We'd like to associate location
|
||||
// information with every object created when parsing,
|
||||
// since for them, the location is generally well-defined.
|
||||
|
@ -141,8 +138,8 @@ private:
|
|||
friend inline void Ref(BroObj* o);
|
||||
friend inline void Unref(BroObj* o);
|
||||
|
||||
bool notify_plugins;
|
||||
int ref_cnt;
|
||||
bool notify_plugins = false;
|
||||
int ref_cnt = 1;
|
||||
|
||||
// If non-zero, do not print runtime errors. Useful for
|
||||
// speculative evaluation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue