chore(3p/nix/libexpr): Minor readability improvements in eval/value
This commit is contained in:
		
							parent
							
								
									92792264f7
								
							
						
					
					
						commit
						da4ca4e02f
					
				
					 4 changed files with 7 additions and 19 deletions
				
			
		
							
								
								
									
										5
									
								
								third_party/nix/src/libexpr/value.hh
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								third_party/nix/src/libexpr/value.hh
									
										
									
									
										vendored
									
									
								
							|  | @ -244,14 +244,9 @@ void mkPath(Value& v, const char* s); | |||
|    not included. */ | ||||
| size_t valueSize(Value& v); | ||||
| 
 | ||||
| #if HAVE_BOEHMGC | ||||
| typedef std::vector<Value*, gc_allocator<Value*> > ValueVector; | ||||
| typedef std::map<Symbol, Value*, std::less<Symbol>, | ||||
|                  gc_allocator<std::pair<const Symbol, Value*> > > | ||||
|     ValueMap; | ||||
| #else | ||||
| typedef std::vector<Value*> ValueVector; | ||||
| typedef std::map<Symbol, Value*> ValueMap; | ||||
| #endif | ||||
| 
 | ||||
| }  // namespace nix
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue