forked from OSchip/llvm-project
[libc++] Fix spacing in <vector>. NFCI.
Thanks to gAlfonso-bit for the patch! Differential Revision: https://reviews.llvm.org/D106691
This commit is contained in:
parent
172051a1f4
commit
1e1b5706c3
|
@ -1029,7 +1029,7 @@ vector<_Tp, _Allocator>::__recommend(size_type __new_size) const
|
|||
const size_type __cap = capacity();
|
||||
if (__cap >= __ms / 2)
|
||||
return __ms;
|
||||
return _VSTD::max<size_type>(2*__cap, __new_size);
|
||||
return _VSTD::max<size_type>(2 * __cap, __new_size);
|
||||
}
|
||||
|
||||
// Default constructs __n objects starting at __end_
|
||||
|
@ -2575,7 +2575,7 @@ vector<bool, _Allocator>::__recommend(size_type __new_size) const
|
|||
const size_type __cap = capacity();
|
||||
if (__cap >= __ms / 2)
|
||||
return __ms;
|
||||
return _VSTD::max(2*__cap, __align_it(__new_size));
|
||||
return _VSTD::max(2 * __cap, __align_it(__new_size));
|
||||
}
|
||||
|
||||
// Default constructs __n objects starting at __end_
|
||||
|
|
Loading…
Reference in New Issue