mirror of
https://github.com/Z3Prover/z3
synced 2025-04-11 03:33:35 +00:00
add move constructor to watch_list
This commit is contained in:
parent
d18e975a49
commit
82b25a0608
|
@ -85,6 +85,10 @@ namespace smt {
|
|||
watch_list():
|
||||
m_data(0) {
|
||||
}
|
||||
|
||||
watch_list(watch_list && other) : m_data(0) {
|
||||
std::swap(m_data, other.m_data);
|
||||
}
|
||||
|
||||
~watch_list() {
|
||||
destroy();
|
||||
|
|
Loading…
Reference in a new issue