Skip to content

Commit 30370b2

Browse files
committed
Format
1 parent 971c48a commit 30370b2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

internals/testing/insertion_sort_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ auto insertion_sort_test = test([]() {
88
int values[] = {3, 1, 4, 1, 5, 9, 2, -1};
99

1010
dumpster_v1::insertion_sort(
11-
values, [](auto lhs, auto rhs) { return lhs < rhs; },
11+
values,
12+
[](auto lhs, auto rhs) { return lhs < rhs; },
1213
[](auto x) { return x == -1; });
1314

1415
int sorted[] = {1, 1, 2, 3, 4, 5, 9, -1};

provides/include/dumpster_v1/insertion_sort.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#include <cstddef>
66

77
template <class RandomIt, class Less, class IsSentinel>
8-
void dumpster_v1::insertion_sort(RandomIt values, Less less,
8+
void dumpster_v1::insertion_sort(RandomIt values,
9+
Less less,
910
IsSentinel is_sentinel) {
1011
size_t i = 0;
1112
while (!is_sentinel(values[++i])) {

0 commit comments

Comments
 (0)