mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
teddy compile: rename loop var for readability
This commit is contained in:
parent
bae7a072ca
commit
b8cd169cde
@ -264,12 +264,12 @@ bool TeddyCompiler::pack(map<BucketIndex,
|
||||
return false;
|
||||
}
|
||||
|
||||
u32 cnt = 0;
|
||||
u32 bucket_id = 0;
|
||||
for (const TeddySet &ts : sts) {
|
||||
const auto &lits = ts.getLits();
|
||||
bucketToLits[cnt].insert(end(bucketToLits[cnt]), begin(lits),
|
||||
end(lits));
|
||||
cnt++;
|
||||
auto &bucket_lits = bucketToLits[bucket_id];
|
||||
bucket_lits.insert(end(bucket_lits), begin(lits), end(lits));
|
||||
bucket_id++;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user