Skip to content

Commit 64ad928

Browse files
authored
Fix code format
1 parent 80f6b05 commit 64ad928

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libcxx/include/string

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3418,7 +3418,8 @@ _LIBCPP_CONSTEXPR_SINCE_CXX20 void basic_string<_CharT, _Traits, _Allocator>::re
34183418
template <class _CharT, class _Traits, class _Allocator>
34193419
inline _LIBCPP_CONSTEXPR_SINCE_CXX20 void basic_string<_CharT, _Traits, _Allocator>::shrink_to_fit() _NOEXCEPT {
34203420
size_type __target_capacity = size();
3421-
__target_capacity = __target_capacity < __min_cap ? static_cast<size_type>(__min_cap) - 1 : __recommend(__target_capacity);
3421+
__target_capacity =
3422+
__target_capacity < __min_cap ? static_cast<size_type>(__min_cap) - 1 : __recommend(__target_capacity);
34223423
if (__target_capacity == capacity())
34233424
return;
34243425

0 commit comments

Comments
 (0)