mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Adjust Dict whitespace/style
This commit is contained in:
parent
ccf8e271a1
commit
ba1611c21f
2 changed files with 20 additions and 19 deletions
|
@ -1118,17 +1118,18 @@ void* Dictionary::NextEntryNonConst(zeek::detail::HashKey*& h, IterCookie*& c, b
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
IterCookie* Dictionary::InitForIteration() const
|
IterCookie* Dictionary::InitForIteration() const
|
||||||
{
|
{
|
||||||
Dictionary* dp = const_cast<Dictionary*>(this);
|
Dictionary* dp = const_cast<Dictionary*>(this);
|
||||||
return dp->InitForIterationNonConst();
|
return dp->InitForIterationNonConst();
|
||||||
}
|
}
|
||||||
|
|
||||||
void* Dictionary::NextEntry(zeek::detail::HashKey*& h, IterCookie*& cookie, bool return_hash) const
|
void* Dictionary::NextEntry(zeek::detail::HashKey*& h, IterCookie*& cookie, bool return_hash) const
|
||||||
{
|
{
|
||||||
Dictionary* dp = const_cast<Dictionary*>(this);
|
Dictionary* dp = const_cast<Dictionary*>(this);
|
||||||
return dp->NextEntryNonConst(h, cookie, return_hash);
|
return dp->NextEntryNonConst(h, cookie, return_hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Dictionary::StopIteration(IterCookie* cookie) const
|
void Dictionary::StopIteration(IterCookie* cookie) const
|
||||||
{
|
{
|
||||||
Dictionary* dp = const_cast<Dictionary*>(this);
|
Dictionary* dp = const_cast<Dictionary*>(this);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue