3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 03:45:51 +00:00

remove unused field

This commit is contained in:
Nuno Lopes 2020-07-12 23:12:00 +01:00
parent 90fc8d854f
commit 122f5a1464
3 changed files with 4 additions and 2 deletions

View file

@ -233,6 +233,10 @@ public:
m_ptr(ptr) {
}
scoped_ptr(scoped_ptr &&other) noexcept : m_ptr(nullptr) {
std::swap(m_ptr, other.m_ptr);
}
~scoped_ptr() {
dealloc(m_ptr);
}