mirror of
https://github.com/Z3Prover/z3
synced 2026-03-04 12:40:23 +00:00
Fix unused parameter warnings in empty override functions by omitting parameter names (#8174)
* Initial plan * Fix unused parameter warnings in empty override functions Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Omit parameter names in empty override functions instead of casting to void Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
bb6cd7cd0e
commit
daefb4ddfd
15 changed files with 19 additions and 19 deletions
|
|
@ -97,7 +97,7 @@ namespace opt {
|
|||
rational get_lower() const override { return m_lower; }
|
||||
rational get_upper() const override { return m_upper; }
|
||||
bool get_assignment(unsigned index) const override { return m_soft[index].is_true(); }
|
||||
void collect_statistics(statistics& st) const override { }
|
||||
void collect_statistics(statistics&) const override { }
|
||||
void get_model(model_ref& mdl, svector<symbol>& labels) override { mdl = m_model.get(); labels = m_labels;}
|
||||
virtual void commit_assignment();
|
||||
void set_model() { s().get_model(m_model); s().get_labels(m_labels); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue