Reformat small inline functions

This commit is contained in:
Ion Gaztañaga
2024-06-03 00:12:56 +02:00
parent aa473160df
commit c7702d20eb

View File

@@ -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());
}
}; };
}} }}