mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	truncation directive #5805
This commit is contained in:
		
							parent
							
								
									773e829c58
								
							
						
					
					
						commit
						a189ca8b60
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -114,7 +114,7 @@ extern "C" {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    solver2smt2_pp::solver2smt2_pp(ast_manager& m, const std::string& file):
 | 
			
		||||
        m_pp_util(m), m_out(file), m_tracked(m) {
 | 
			
		||||
        m_pp_util(m), m_out(file, std::ofstream::trunc | std::ofstream::out), m_tracked(m) {
 | 
			
		||||
        if (!m_out) {
 | 
			
		||||
            throw default_exception("could not open " + file + " for output");
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue