Skip to content

Commit 29c0a13

Browse files
committed
Don't convert out of bounded::integer just to convert right back
1 parent ed38356 commit 29c0a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/containers/algorithms/sort/fixed_size_merge_sort.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export constexpr auto fixed_size_merge_sort(auto it, auto const size1, auto cons
3232
auto first2 = it + size1;
3333
auto const last2 = first2 + size2;
3434
::containers::sort_exactly_n(first2, size2, compare);
35-
auto buffer = containers::uninitialized_array<std::remove_reference_t<decltype(*it)>, size1.value()>();
35+
auto buffer = containers::uninitialized_array<std::remove_reference_t<decltype(*it)>, size1>();
3636
auto first1 = buffer.data();
3737
auto const last1 = first1 + size1;
3838
::containers::sort_exactly_n_relocate(it, size1, first1, compare);

0 commit comments

Comments
 (0)