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
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -108,7 +108,7 @@ private: | ||||||
| 
 | 
 | ||||||
|     /* A cache from path names to values. */ |     /* A cache from path names to values. */ | ||||||
| #if HAVE_BOEHMGC | #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 | #else | ||||||
|     typedef std::map<Path, Value> FileEvalCache; |     typedef std::map<Path, Value> FileEvalCache; | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue