mirror of
https://github.com/Z3Prover/z3
synced 2026-01-20 01:03:20 +00:00
remove a hundred implicit constructors/destructors
This commit is contained in:
parent
f8406623b4
commit
f1e0d5dc8a
55 changed files with 30 additions and 140 deletions
|
|
@ -87,11 +87,13 @@ public:
|
|||
push_back(std::move(source.m_buffer[i]));
|
||||
}
|
||||
} else {
|
||||
m_pos = source.m_pos;
|
||||
m_capacity = source.m_capacity;
|
||||
m_buffer = source.m_buffer;
|
||||
source.m_buffer = reinterpret_cast<T*>(source.m_initial_buffer);
|
||||
source.m_pos = 0;
|
||||
m_buffer = source.m_buffer;
|
||||
m_pos = source.m_pos;
|
||||
m_capacity = source.m_capacity;
|
||||
m_buffer = source.m_buffer;
|
||||
source.m_buffer = reinterpret_cast<T*>(source.m_initial_buffer);
|
||||
source.m_pos = 0;
|
||||
source.m_capacity = INITIAL_SIZE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue