mirror of
https://github.com/Z3Prover/z3
synced 2025-06-02 20:31:21 +00:00
add move constructor to watch_list
This commit is contained in:
parent
d18e975a49
commit
82b25a0608
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ namespace smt {
|
||||||
watch_list():
|
watch_list():
|
||||||
m_data(0) {
|
m_data(0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
watch_list(watch_list && other) : m_data(0) {
|
||||||
|
std::swap(m_data, other.m_data);
|
||||||
|
}
|
||||||
|
|
||||||
~watch_list() {
|
~watch_list() {
|
||||||
destroy();
|
destroy();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue