From 95ea358f985d8988ce36bee8ad72b5023557e5fa Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 9 Jun 2025 20:10:41 +0200 Subject: [PATCH] libexpr/print: drop redundant constructor in emplace_back call Change-Id: I79210edfede0a1d17f38b5834515f56d44c97466 Signed-off-by: Raito Bezarius --- lix/libexpr/print.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lix/libexpr/print.cc b/lix/libexpr/print.cc index 01a9dcb67..96aabd463 100644 --- a/lix/libexpr/print.cc +++ b/lix/libexpr/print.cc @@ -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::max()) std::sort(sorted.begin(), sorted.end());