This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3,trunk] Replace old macro
- To: gcc-patches at gcc dot gnu dot org
- Subject: [v3,trunk] Replace old macro
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Fri, 20 Apr 2001 16:33:37 -0400
- Cc: libstdc++ at gcc dot gnu dot org
As recently pointed out on gcc-bugs, I'd missed a renamed file when
changing macro names throughout the library source. Fixed thusly.
Tested and applied to the trunk. (Not yet applicable on the branch.)
2001-04-20 Phil Edwards <pme@sources.redhat.com>
* include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
__iterator_category.
Index: include/bits/stl_bvector.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/stl_bvector.h,v
retrieving revision 1.1
diff -u -3 -p -r1.1 stl_bvector.h
--- stl_bvector.h 2001/03/31 20:15:42 1.1
+++ stl_bvector.h 2001/04/20 20:15:48
@@ -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>