mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
Good overridance with the good qualifier
This commit is contained in:
parent
b84fd05912
commit
7dfb5657a2
2 changed files with 2 additions and 2 deletions
|
@ -410,7 +410,7 @@ Val* Trigger::Lookup(const CallExpr* expr)
|
||||||
return (i != cache.end()) ? i->second : 0;
|
return (i != cache.end()) ? i->second : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* Trigger::Name()
|
const char* Trigger::Name() const
|
||||||
{
|
{
|
||||||
assert(location);
|
assert(location);
|
||||||
return fmt("%s:%d-%d", location->filename,
|
return fmt("%s:%d-%d", location->filename,
|
||||||
|
|
|
@ -60,7 +60,7 @@ public:
|
||||||
virtual void Access(Val* val, const StateAccess& sa)
|
virtual void Access(Val* val, const StateAccess& sa)
|
||||||
{ QueueTrigger(this); }
|
{ QueueTrigger(this); }
|
||||||
|
|
||||||
virtual const char* Name();
|
virtual const char* Name() const;
|
||||||
|
|
||||||
static void QueueTrigger(Trigger* trigger);
|
static void QueueTrigger(Trigger* trigger);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue