mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-20 19:06:39 +03:00
replace push_back by emplace_back where possible
This commit is contained in:
@@ -343,7 +343,7 @@ public:
|
||||
return {it->second, false};
|
||||
}
|
||||
u32 id = verify_u32(lits.size());
|
||||
lits.push_back(lit);
|
||||
lits.emplace_back(lit);
|
||||
lits_index.emplace(lit, id);
|
||||
return {id, true};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user