mirror of
https://github.com/Z3Prover/z3
synced 2026-06-11 11:25:36 +00:00
replace some copies with moves
This commit is contained in:
parent
73844f9a7f
commit
617c621cc0
8 changed files with 27 additions and 13 deletions
|
|
@ -31,6 +31,11 @@ class expr_offset {
|
|||
public:
|
||||
expr_offset() = default;
|
||||
expr_offset(expr * e, unsigned o):m_expr(e), m_offset(o) {}
|
||||
expr_offset(const expr_offset&) = default;
|
||||
expr_offset(expr_offset&&) noexcept = default;
|
||||
|
||||
expr_offset& operator=(expr_offset const & other) = default;
|
||||
expr_offset& operator=(expr_offset&&) noexcept = default;
|
||||
|
||||
expr * get_expr() const { return m_expr; }
|
||||
unsigned get_offset() const { return m_offset; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue