Skip to content

Commit 7e00b6f

Browse files
Make GCC happy
1 parent 9f682ae commit 7e00b6f

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

libcxx/test/std/containers/sequences/deque/deque.cons/iter_iter.pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ void test(InputIterator f, InputIterator l) {
2929
typedef typename std::iterator_traits<InputIterator>::value_type T;
3030
typedef std::allocator<T> Allocator;
3131
typedef std::deque<T, Allocator> C;
32-
typedef typename C::const_iterator const_iterator;
3332
C d(f, l);
3433
assert(d.size() == static_cast<std::size_t>(std::distance(f, l)));
3534
assert(static_cast<std::size_t>(std::distance(d.begin(), d.end())) == d.size());

libcxx/test/std/containers/sequences/deque/deque.cons/iter_iter_alloc.pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ template <class InputIterator, class Allocator>
2929
void test(InputIterator f, InputIterator l, const Allocator& a) {
3030
typedef typename std::iterator_traits<InputIterator>::value_type T;
3131
typedef std::deque<T, Allocator> C;
32-
typedef typename C::const_iterator const_iterator;
3332
C d(f, l, a);
3433
assert(d.get_allocator() == a);
3534
assert(d.size() == static_cast<std::size_t>(std::distance(f, l)));

0 commit comments

Comments
 (0)