mirror of
https://github.com/Z3Prover/z3
synced 2026-01-19 08:43:18 +00:00
simplify some constructors/destructors
This commit is contained in:
parent
79201e5ce6
commit
9eb566b401
3 changed files with 11 additions and 49 deletions
|
|
@ -81,7 +81,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
buffer(buffer && source) {
|
||||
buffer(buffer && source) noexcept {
|
||||
if (source.m_buffer == reinterpret_cast<T*>(source.m_initial_buffer)) {
|
||||
for (unsigned i = 0, sz = source.size(); i < sz; ++i) {
|
||||
push_back(std::move(source.m_buffer[i]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue