aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/bits/stl_bvector.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 7dc265a..fd6f183 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-20 Phil Edwards <pme@sources.redhat.com>
+
+ * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
+ __iterator_category.
+
2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_USE_C99): Add.
diff --git a/libstdc++-v3/include/bits/stl_bvector.h b/libstdc++-v3/include/bits/stl_bvector.h
index 7b768a4..e57b6be 100644
--- a/libstdc++-v3/include/bits/stl_bvector.h
+++ b/libstdc++-v3/include/bits/stl_bvector.h
@@ -498,7 +498,7 @@ template <typename _Alloc>
template <class _InputIterator>
void _M_initialize_dispatch(_InputIterator __first, _InputIterator __last,
__false_type) {
- _M_initialize_range(__first, __last, __ITERATOR_CATEGORY(__first));
+ _M_initialize_range(__first, __last, __iterator_category(__first));
}
template <class _InputIterator>
@@ -553,7 +553,7 @@ template <typename _Alloc>
template <class _InputIter>
void _M_assign_dispatch(_InputIter __first, _InputIter __last, __false_type)
- { _M_assign_aux(__first, __last, __ITERATOR_CATEGORY(__first)); }
+ { _M_assign_aux(__first, __last, __iterator_category(__first)); }
template <class _InputIterator>
void _M_assign_aux(_InputIterator __first, _InputIterator __last,
@@ -628,7 +628,7 @@ template <typename _Alloc>
void _M_insert_dispatch(iterator __pos,
_InputIterator __first, _InputIterator __last,
__false_type) {
- _M_insert_range(__pos, __first, __last, __ITERATOR_CATEGORY(__first));
+ _M_insert_range(__pos, __first, __last, __iterator_category(__first));
}
template <class _InputIterator>