mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	fix build with gcc
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
This commit is contained in:
		
							parent
							
								
									3be279dc29
								
							
						
					
					
						commit
						b26735a887
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -125,7 +125,7 @@ public: | |||
|     virtual bool is_pareto() = 0; | ||||
|     virtual void set_logic(symbol const& s) = 0; | ||||
|     virtual bool print_model() const = 0; | ||||
|     virtual void updt_params(params_ref& p) = 0; | ||||
|     virtual void updt_params(params_ref const& p) = 0; | ||||
| }; | ||||
| 
 | ||||
| class cmd_context : public progress_callback, public tactic_manager, public ast_printer_context { | ||||
|  |  | |||
|  | @ -1298,7 +1298,7 @@ namespace opt { | |||
|         opt_params::collect_param_descrs(r); | ||||
|     } | ||||
|      | ||||
|     void context::updt_params(params_ref& p) { | ||||
|     void context::updt_params(params_ref const& p) { | ||||
|         m_params.append(p); | ||||
|         if (m_solver) { | ||||
|             m_solver->updt_params(m_params); | ||||
|  |  | |||
|  | @ -195,7 +195,7 @@ namespace opt { | |||
| 
 | ||||
|         void display(std::ostream& out); | ||||
|         static void collect_param_descrs(param_descrs & r); | ||||
|         virtual void updt_params(params_ref& p); | ||||
|         virtual void updt_params(params_ref const& p); | ||||
|         params_ref& get_params() { return m_params; } | ||||
| 
 | ||||
|         expr_ref get_lower(unsigned idx); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue