mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
avoid a vector copy
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
dfa8c4432f
commit
f7ac096696
|
@ -112,7 +112,7 @@ private:
|
||||||
|
|
||||||
public :
|
public :
|
||||||
unsigned terms_start_index() const { return m_terms_start_index; }
|
unsigned terms_start_index() const { return m_terms_start_index; }
|
||||||
const vector<lar_term*> terms() const { return m_terms; }
|
const vector<lar_term*> & terms() const { return m_terms; }
|
||||||
const vector<lar_base_constraint*>& constraints() const {
|
const vector<lar_base_constraint*>& constraints() const {
|
||||||
return m_constraints;
|
return m_constraints;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue