Fix DealloctingVector from initializer list constructor
It was not setting the number of elements.
This commit is contained in:
parent
c410c200bd
commit
ee447afd72
@ -228,7 +228,7 @@ template <typename ElementT> class DeallocatingVector
|
||||
return *this;
|
||||
}
|
||||
|
||||
DeallocatingVector(std::initializer_list<ElementT> elements)
|
||||
DeallocatingVector(std::initializer_list<ElementT> elements) : DeallocatingVector()
|
||||
{
|
||||
for (auto &&elem : elements)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user