3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

fix build with gcc

Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
This commit is contained in:
Nuno Lopes 2015-11-22 11:24:30 +00:00
parent 3be279dc29
commit b26735a887
3 changed files with 3 additions and 3 deletions

View file

@ -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 {

View file

@ -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);

View file

@ -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);