3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-19 12:23:38 +00:00

remove unneeded constructors (last round)

This commit is contained in:
Nuno Lopes 2020-07-12 17:41:57 +01:00
parent 44ec259c4c
commit bb26f219fe
37 changed files with 65 additions and 276 deletions

View file

@ -49,14 +49,10 @@ public:
ref_pair_vector_core(Ref const & r = Ref()):Ref(r) {}
ref_pair_vector_core(ref_pair_vector_core && other) :
Ref(std::move(other)),
m_nodes(std::move(other.m_nodes)) {}
~ref_pair_vector_core() {
dec_range_ref(m_nodes.begin(), m_nodes.end());
}
void reset() {
dec_range_ref(m_nodes.begin(), m_nodes.end());
m_nodes.reset();