mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	change to const qualifier on constructor
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									792bf6c10b
								
							
						
					
					
						commit
						0c32989144
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -60,7 +60,7 @@ namespace opt { | |||
|             expr_ref  s;  | ||||
|             rational  weight;  | ||||
|             bool      is_true; | ||||
|             soft(expr_ref& s, rational const& w, bool t): s(s), weight(w), is_true(t) {} | ||||
|             soft(expr_ref const& s, rational const& w, bool t): s(s), weight(w), is_true(t) {} | ||||
|             soft(soft const& other):s(other.s), weight(other.weight), is_true(other.is_true) {} | ||||
|             soft& operator=(soft const& other) { s = other.s; weight = other.weight; is_true = other.is_true; return *this; }             | ||||
|         }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue