Try dereferencing the pointer
This commit is contained in:
		
							parent
							
								
									901b50ca2d
								
							
						
					
					
						commit
						481bdc2c07
					
				| @ -395,7 +395,7 @@ int main(int argc, char* argv[]) { | |||||||
|     auto ubuntu_opt = lp->distributions["ubuntu"]; |     auto ubuntu_opt = lp->distributions["ubuntu"]; | ||||||
|     distribution ubuntu = ubuntu_opt.value(); |     distribution ubuntu = ubuntu_opt.value(); | ||||||
|     auto ds_opt = ubuntu.current_series; |     auto ds_opt = ubuntu.current_series; | ||||||
|     distro_series current_series = ds_opt.value(); |     distro_series current_series = *ds_opt; | ||||||
| 
 | 
 | ||||||
|     // Retrieve user and PPA
 |     // Retrieve user and PPA
 | ||||||
|     auto user_opt = lp->people[args.user]; |     auto user_opt = lp->people[args.user]; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user