mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Clang-tidy fixes for recent IDPtr changes
This commit is contained in:
parent
e3b22cd21f
commit
26ea7cc655
18 changed files with 50 additions and 51 deletions
|
@ -183,7 +183,7 @@ void Trigger::ReInit(std::vector<ValPtr> index_expr_results) {
|
|||
have_trigger_elems = true;
|
||||
}
|
||||
|
||||
for ( auto g : globals ) {
|
||||
for ( const auto& g : globals ) {
|
||||
Register(g.get());
|
||||
|
||||
auto& v = g->GetVal();
|
||||
|
@ -191,7 +191,7 @@ void Trigger::ReInit(std::vector<ValPtr> index_expr_results) {
|
|||
Register(v.get());
|
||||
}
|
||||
|
||||
for ( auto l : locals ) {
|
||||
for ( const auto& l : locals ) {
|
||||
ASSERT(! l->GetVal());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue