mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	C++ API bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
		
							parent
							
								
									3e7c95db6b
								
							
						
					
					
						commit
						342a23cfcb
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -1432,12 +1432,12 @@ namespace z3 {
 | 
				
			||||||
            t1.check_error();
 | 
					            t1.check_error();
 | 
				
			||||||
            return tactic(t1.ctx(), r);
 | 
					            return tactic(t1.ctx(), r);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        friend tactic repeat(tactic const & t, unsigned max=UINT_MAX);
 | 
					        friend tactic repeat(tactic const & t, unsigned max);
 | 
				
			||||||
        friend tactic with(tactic const & t, params const & p);
 | 
					        friend tactic with(tactic const & t, params const & p);
 | 
				
			||||||
        friend tactic try_for(tactic const & t, unsigned ms);
 | 
					        friend tactic try_for(tactic const & t, unsigned ms);
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    inline tactic repeat(tactic const & t, unsigned max) {
 | 
					    inline tactic repeat(tactic const & t, unsigned max=UINT_MAX) {
 | 
				
			||||||
        Z3_tactic r = Z3_tactic_repeat(t.ctx(), t, max);
 | 
					        Z3_tactic r = Z3_tactic_repeat(t.ctx(), t, max);
 | 
				
			||||||
        t.check_error();
 | 
					        t.check_error();
 | 
				
			||||||
        return tactic(t.ctx(), r);
 | 
					        return tactic(t.ctx(), r);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue