From 14b119c948476cc24e83bb08880eeab47ff92986 Mon Sep 17 00:00:00 2001 From: Taeer Bar-Yam Date: Sun, 5 Oct 2025 12:07:10 -0400 Subject: [PATCH] libexpr: fixup ExprOpHasAttr() to take allocator reference --- src/libexpr/include/nix/expr/nixexpr.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/include/nix/expr/nixexpr.hh b/src/libexpr/include/nix/expr/nixexpr.hh index b66dba4f3c6..863a1369de4 100644 --- a/src/libexpr/include/nix/expr/nixexpr.hh +++ b/src/libexpr/include/nix/expr/nixexpr.hh @@ -350,7 +350,7 @@ struct ExprOpHasAttr : Expr Expr * e; std::span attrPath; - ExprOpHasAttr(std::pmr::polymorphic_allocator alloc, Expr * e, std::vector attrPath) + ExprOpHasAttr(std::pmr::polymorphic_allocator & alloc, Expr * e, std::vector attrPath) : e(e) , attrPath({alloc.allocate_object(attrPath.size()), attrPath.size()}) {