forked from lix-project/lix
Fix a segfault in ‘nix-env -qa’
This was triggered by 47e185847e
, which
turned globals.state into a pointer.
This commit is contained in:
parent
65243ee833
commit
fefd3650d4
|
@ -108,7 +108,7 @@ private:
|
|||
|
||||
/* A cache from path names to values. */
|
||||
#if HAVE_BOEHMGC
|
||||
typedef std::map<Path, Value, std::less<Path>, gc_allocator<std::pair<const Path, Value> > > FileEvalCache;
|
||||
typedef std::map<Path, Value, std::less<Path>, traceable_allocator<std::pair<const Path, Value> > > FileEvalCache;
|
||||
#else
|
||||
typedef std::map<Path, Value> FileEvalCache;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue