libexpr/print: drop redundant constructor in emplace_back call
Change-Id: I79210edfede0a1d17f38b5834515f56d44c97466 Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
@@ -287,7 +287,7 @@ private:
|
||||
|
||||
AttrVec sorted;
|
||||
for (auto & i : *v.attrs)
|
||||
sorted.emplace_back(std::pair(state.ctx.symbols[i.name], i.value));
|
||||
sorted.emplace_back(state.ctx.symbols[i.name], i.value);
|
||||
|
||||
if (options.maxAttrs == std::numeric_limits<size_t>::max())
|
||||
std::sort(sorted.begin(), sorted.end());
|
||||
|
||||
Reference in New Issue
Block a user