Skip to content

Commit aa6607f

Browse files
Clang-format vector.modifiers/insert_iter_iter_iter.pass.cpp
1 parent 902653c commit aa6607f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_iter_iter_iter.pass.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -161,24 +161,24 @@ TEST_CONSTEXPR_CXX20 bool tests() {
161161
for (; j < 105; ++j)
162162
assert(v[j] == 0);
163163
}
164-
{
165-
struct Wrapper {
166-
TEST_CONSTEXPR Wrapper(int n) : n_(n) {}
164+
{
165+
struct Wrapper {
166+
TEST_CONSTEXPR Wrapper(int n) : n_(n) {}
167167

168-
int n_;
168+
int n_;
169169

170-
private:
171-
void operator=(int);
172-
};
170+
private:
171+
void operator=(int);
172+
};
173173

174-
int a[] = {1, 2, 3, 4, 5};
175-
const std::size_t count = sizeof(a) / sizeof(a[0]);
176-
std::vector<Wrapper> v;
177-
v.insert(v.end(), a, a + count);
178-
assert(v.size() == count);
179-
for (std::size_t i = 0; i != count; ++i)
180-
assert(v[i].n_ == a[i]);
181-
}
174+
int a[] = {1, 2, 3, 4, 5};
175+
const std::size_t count = sizeof(a) / sizeof(a[0]);
176+
std::vector<Wrapper> v;
177+
v.insert(v.end(), a, a + count);
178+
assert(v.size() == count);
179+
for (std::size_t i = 0; i != count; ++i)
180+
assert(v[i].n_ == a[i]);
181+
}
182182
#if TEST_STD_VER >= 11
183183
{
184184
typedef std::vector<int, min_allocator<int> > V;

0 commit comments

Comments
 (0)