3
0
Fork 0
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:
Nuno Lopes 2017-10-15 05:31:28 +01:00
parent d18e975a49
commit 82b25a0608

View file

@ -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();