mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 08:28:44 +00:00
Add goodies
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
81807c7001
commit
1712f0a33b
2 changed files with 11 additions and 2 deletions
|
@ -243,6 +243,10 @@ public:
|
|||
m_ptr = 0;
|
||||
return tmp;
|
||||
}
|
||||
|
||||
void swap(scoped_ptr & p) {
|
||||
std::swap(m_ptr, p.m_ptr);
|
||||
}
|
||||
};
|
||||
|
||||
template<typename T1, typename T2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue