refactor(3p/tvix): convert NixList usage to shared_ptr
Starting to reclaim memory. Fairly simple mechanical replacement. Change-Id: I6b4c5c5596729470d1a049eba61e69e8097decf4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1971 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
		
							parent
							
								
									381ce8a666
								
							
						
					
					
						commit
						2c19bd6662
					
				
					 4 changed files with 12 additions and 12 deletions
				
			
		
							
								
								
									
										2
									
								
								third_party/nix/src/libexpr/value.hh
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								third_party/nix/src/libexpr/value.hh
									
										
									
									
										vendored
									
									
								
							|  | @ -96,7 +96,7 @@ struct Value { | |||
|     NixString string; | ||||
|     const char* path; | ||||
|     std::shared_ptr<Bindings> attrs; | ||||
|     NixList* list; | ||||
|     std::shared_ptr<NixList> list; | ||||
|     NixThunk thunk; | ||||
|     NixApp app;  // TODO(tazjin): "app"?
 | ||||
|     NixLambda lambda; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue