mirror of
https://github.com/boostorg/container.git
synced 2025-08-01 05:24:31 +02:00
Reformat small inline functions
This commit is contained in:
@@ -415,9 +415,7 @@ class small_vector_base
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
void prot_shrink_to_fit_small(const size_type small_capacity)
|
void prot_shrink_to_fit_small(const size_type small_capacity)
|
||||||
{
|
{ this->base_type::prot_shrink_to_fit_small(this->internal_storage(), small_capacity); }
|
||||||
this->base_type::prot_shrink_to_fit_small(this->internal_storage(), small_capacity);
|
|
||||||
}
|
|
||||||
|
|
||||||
using base_type::protected_set_size;
|
using base_type::protected_set_size;
|
||||||
|
|
||||||
@@ -667,9 +665,7 @@ class small_vector
|
|||||||
{ return this->base_type::prot_swap(other, static_capacity); }
|
{ return this->base_type::prot_swap(other, static_capacity); }
|
||||||
|
|
||||||
inline void shrink_to_fit()
|
inline void shrink_to_fit()
|
||||||
{
|
{ this->base_type::prot_shrink_to_fit_small(this->internal_capacity()); }
|
||||||
this->base_type::prot_shrink_to_fit_small(this->internal_capacity());
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
Reference in New Issue
Block a user