mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-01 06:08:57 +03:00
replace push_back by emplace_back where possible
This commit is contained in:
@@ -55,7 +55,7 @@ ComponentWordBoundary * ComponentWordBoundary::clone() const {
|
||||
|
||||
vector<PositionInfo> ComponentWordBoundary::first() const {
|
||||
vector<PositionInfo> firsts;
|
||||
firsts.push_back(position);
|
||||
firsts.emplace_back(position);
|
||||
return firsts;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user