mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
replace push_back by emplace_back where possible
This commit is contained in:
@@ -243,7 +243,7 @@ u32 SomSlotManager::numSomSlots() const {
|
||||
|
||||
u32 SomSlotManager::addRevNfa(bytecode_ptr<NFA> nfa, u32 maxWidth) {
|
||||
u32 rv = verify_u32(rev_nfas.size());
|
||||
rev_nfas.push_back(move(nfa));
|
||||
rev_nfas.emplace_back(move(nfa));
|
||||
|
||||
// A rev nfa commits us to having enough history around to handle its
|
||||
// max width.
|
||||
|
Reference in New Issue
Block a user