Skip to content

Commit c65a37e

Browse files
committed
clang-format
1 parent 6fa4b57 commit c65a37e

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

libcxx/test/std/containers/container.adaptors/flat.set/flat.set.capacity/max_size.pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include "test_macros.h"
2626

2727
void test() {
28-
2928
{
3029
using A1 = limited_allocator<int, 10>;
3130
using C = std::flat_set<int, std::less<int>, std::vector<int, A1>>;

libcxx/test/std/containers/container.adaptors/flat.set/flat.set.modifiers/insert_iter_cv.pass.cpp

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,20 @@ void test_one() {
5656
}
5757

5858
void test() {
59-
6059
test_one<std::vector<int>>();
6160
test_one<std::deque<int>>();
6261
test_one<MinSequenceContainer<int>>();
6362
test_one<std::vector<int, min_allocator<int>>>();
6463
}
6564

6665
void test_exception() {
67-
auto insert_func = [](auto& m, auto key_arg) {
68-
using FlatSet = std::decay_t<decltype(m)>;
69-
using value_type = typename FlatSet::value_type;
70-
const value_type p(key_arg);
71-
m.insert(m.begin(), p);
72-
};
73-
test_emplace_exception_guarantee(insert_func);
66+
auto insert_func = [](auto& m, auto key_arg) {
67+
using FlatSet = std::decay_t<decltype(m)>;
68+
using value_type = typename FlatSet::value_type;
69+
const value_type p(key_arg);
70+
m.insert(m.begin(), p);
71+
};
72+
test_emplace_exception_guarantee(insert_func);
7473
}
7574

7675
int main(int, char**) {

0 commit comments

Comments
 (0)