mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Remove synchrnized and persistent attributes.
Code that was used by them is still there.
This commit is contained in:
parent
5d44735209
commit
61c84a0a40
9 changed files with 4 additions and 90 deletions
|
@ -524,9 +524,6 @@ public:
|
|||
// values. (In any case, don't forget to call the parent's method.)
|
||||
typedef char Properties;
|
||||
|
||||
static const int PERSISTENT = 0x01;
|
||||
static const int SYNCHRONIZED = 0x02;
|
||||
|
||||
// Tracked by NotifierRegistry, not recursive.
|
||||
static const int TRACKED = 0x04;
|
||||
|
||||
|
@ -540,10 +537,10 @@ public:
|
|||
bool LoggingAccess() const
|
||||
{
|
||||
#ifndef DEBUG
|
||||
return props & (SYNCHRONIZED|PERSISTENT|TRACKED);
|
||||
return props & TRACKED;
|
||||
#else
|
||||
return debug_logger.IsVerbose() ||
|
||||
(props & (SYNCHRONIZED|PERSISTENT|TRACKED));
|
||||
(props & TRACKED);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue