We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34bca92 + 14b119c commit d5fa131Copy full SHA for d5fa131
src/libexpr/include/nix/expr/nixexpr.hh
@@ -350,7 +350,7 @@ struct ExprOpHasAttr : Expr
350
Expr * e;
351
std::span<AttrName> attrPath;
352
353
- ExprOpHasAttr(std::pmr::polymorphic_allocator<char> alloc, Expr * e, std::vector<AttrName> attrPath)
+ ExprOpHasAttr(std::pmr::polymorphic_allocator<char> & alloc, Expr * e, std::vector<AttrName> attrPath)
354
: e(e)
355
, attrPath({alloc.allocate_object<AttrName>(attrPath.size()), attrPath.size()})
356
{
0 commit comments