3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

avoid a vector copy

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2018-07-15 15:29:13 -07:00
parent dfa8c4432f
commit f7ac096696

View file

@ -112,7 +112,7 @@ private:
public :
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 {
return m_constraints;
}