xo-arena: bugfix in DArenaVector move ctor
This commit is contained in:
parent
6b9a5471c6
commit
3415e62988
1 changed files with 3 additions and 1 deletions
|
|
@ -104,7 +104,9 @@ namespace xo {
|
|||
template <typename T>
|
||||
DArenaVector<T>::DArenaVector(DArenaVector && other)
|
||||
: size_{other.size_}, store_{std::move(other.store_)}
|
||||
{}
|
||||
{
|
||||
other.size_ = 0;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
DArenaVector<T>::~DArenaVector()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue