mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Use const references over copying variables (performance-unnecessary-copy-initialization, performance-for-range-copy)
This commit is contained in:
parent
c32566420a
commit
eda1b4a23e
4 changed files with 5 additions and 6 deletions
|
@ -173,7 +173,7 @@ bool CardinalityCounter::Merge(CardinalityCounter* c)
|
|||
if ( m != c->GetM() )
|
||||
return false;
|
||||
|
||||
const vector<uint8_t> temp = c->GetBuckets();
|
||||
const vector<uint8_t>& temp = c->GetBuckets();
|
||||
|
||||
V = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue