forked from boostorg/container
Removed trailing whitespaces
This commit is contained in:
@ -930,7 +930,7 @@ class vector
|
|||||||
const size_type input_sz = static_cast<size_type>(std::distance(first, last));
|
const size_type input_sz = static_cast<size_type>(std::distance(first, last));
|
||||||
const size_type old_capacity = this->capacity();
|
const size_type old_capacity = this->capacity();
|
||||||
if(input_sz > old_capacity){ //If input range is too big, we need to reallocate
|
if(input_sz > old_capacity){ //If input range is too big, we need to reallocate
|
||||||
size_type real_cap;
|
size_type real_cap = 0;
|
||||||
std::pair<pointer, bool> ret =
|
std::pair<pointer, bool> ret =
|
||||||
this->m_holder.allocation_command(allocate_new, input_sz, input_sz, real_cap, this->m_holder.start());
|
this->m_holder.allocation_command(allocate_new, input_sz, input_sz, real_cap, this->m_holder.start());
|
||||||
if(!ret.second){ //New allocation, just emplace new values
|
if(!ret.second){ //New allocation, just emplace new values
|
||||||
|
Reference in New Issue
Block a user