summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/debug
diff options
context:
space:
mode:
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-16 19:17:26 +0000
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-16 19:17:26 +0000
commitfb460d7e96c6c88f049f2fc87c0aa27c1ead049b (patch)
treec141f5ab885bf0457debc4ef7a1854d9c94e6e02 /libstdc++-v3/include/debug
parentf9d1cd4ccf1189749a4231dda622a47d77b7725f (diff)
downloadgcc-fb460d7e96c6c88f049f2fc87c0aa27c1ead049b.tar.gz
2015-07-16 François Dumont <fdumont@gcc.gnu.org>
* include/bits/stl_algobase.h (__miter_base): Move... * include/bits/cpp_type_traits.h: ...here. * include/debug/functions.h (__foreign_iterator_aux): Use latter. * testsuite/23_containers/vector/debug/insert7_neg.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225902 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/debug')
-rw-r--r--libstdc++-v3/include/debug/functions.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/include/debug/functions.h b/libstdc++-v3/include/debug/functions.h
index 7f0659f5b25..a9f234b0723 100644
--- a/libstdc++-v3/include/debug/functions.h
+++ b/libstdc++-v3/include/debug/functions.h
@@ -198,7 +198,8 @@ namespace __gnu_debug
std::__false_type)
{
return _Insert_range_from_self_is_safe<_Sequence>::__value
- || __foreign_iterator_aux2(__it, __other, __other_end);
+ || __foreign_iterator_aux2(__it, std::__miter_base(__other),
+ std::__miter_base(__other_end));
}
template<typename _Iterator, typename _Sequence,