fix(3p/nix/libexpr): Actually use AttributeMap type alias
Without this alias, the garbage-collecting allocator won't be used and allocated attribute set values won't be visible during GC.
This commit is contained in:
parent
39e72c27f1
commit
ab1fbd4c6e
1 changed files with 2 additions and 2 deletions
4
third_party/nix/src/libexpr/attr-set.hh
vendored
4
third_party/nix/src/libexpr/attr-set.hh
vendored
|
@ -38,7 +38,7 @@ using AttributeMap =
|
|||
|
||||
class Bindings {
|
||||
public:
|
||||
typedef absl::btree_map<Symbol, Attr>::iterator iterator;
|
||||
typedef AttributeMap::iterator iterator;
|
||||
|
||||
// Allocate a new attribute set that is visible to the garbage
|
||||
// collector.
|
||||
|
@ -79,7 +79,7 @@ class Bindings {
|
|||
friend class EvalState;
|
||||
|
||||
private:
|
||||
absl::btree_map<Symbol, Attr> attributes_;
|
||||
AttributeMap attributes_;
|
||||
};
|
||||
|
||||
} // namespace nix
|
||||
|
|
Loading…
Reference in a new issue