mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fixing how I define const on the Contains method.
One day I'll actually learn c++!
This commit is contained in:
parent
61ede5db2f
commit
64fde758c1
1 changed files with 1 additions and 1 deletions
|
@ -1991,7 +1991,7 @@ ValPtr TableVal::FindOrDefault(const ValPtr& index)
|
||||||
return Default(index);
|
return Default(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool TableVal::Contains(const IPAddr& addr)
|
bool TableVal::Contains(const IPAddr& addr) const
|
||||||
{
|
{
|
||||||
if ( ! subnets )
|
if ( ! subnets )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue