mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
add code review to constraint
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ef297ced13
commit
7ea1bf12b6
4 changed files with 32 additions and 16 deletions
|
@ -81,6 +81,7 @@ public:
|
|||
m_vector[m_vector.size()-1] = tmp;
|
||||
}
|
||||
|
||||
|
||||
ptr_vector<T> detach() {
|
||||
ptr_vector<T> tmp(std::move(m_vector));
|
||||
SASSERT(m_vector.empty());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue