mirror of
https://github.com/Z3Prover/z3
synced 2026-07-16 03:55:42 +00:00
move, dont copy
This commit is contained in:
parent
cf18a764f3
commit
a1d484c4a8
2 changed files with 7 additions and 4 deletions
|
|
@ -34,10 +34,6 @@ public:
|
|||
struct hash_proc { unsigned operator()(s_integer const& r) const { return r.hash(); } };
|
||||
struct eq_proc { bool operator()(s_integer const& r1, s_integer const& r2) const { return r1 == r2; } };
|
||||
|
||||
void swap(s_integer & n) noexcept {
|
||||
std::swap(m_val, n.m_val);
|
||||
}
|
||||
|
||||
std::string to_string() const;
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue