mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	capture values not reference
This commit is contained in:
		
							parent
							
								
									af2cc460a9
								
							
						
					
					
						commit
						f2fcbc7cb7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -875,7 +875,7 @@ extern "C" {
 | 
			
		|||
        init_solver(c, s);
 | 
			
		||||
        solver::push_eh_t _push = push_eh;
 | 
			
		||||
        solver::pop_eh_t _pop = pop_eh;
 | 
			
		||||
        solver::fresh_eh_t _fresh = [&](void * user_ctx, ast_manager& m, solver::context_obj*& _ctx) {
 | 
			
		||||
        solver::fresh_eh_t _fresh = [=](void * user_ctx, ast_manager& m, solver::context_obj*& _ctx) {
 | 
			
		||||
            ast_context_params params;
 | 
			
		||||
            params.set_foreign_manager(&m);
 | 
			
		||||
            auto* ctx = alloc(api::context, ¶ms, false);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue