This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Problem with your patch
- To: bkoz at gcc dot gnu dot org
- Subject: Problem with your patch
- From: Peter Schmid <schmid at snake dot iap dot physik dot tu-darmstadt dot de>
- Date: Mon, 30 Apr 2001 21:17:27 +0200 (CEST)
- cc: libstdc++ at gcc dot gnu dot org
I believe there is a problem with your patch:
2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.
I may be mistaken, but I assume __advance_InputIter& should read
__advance(_InputIter&. You accidentally replaced the opening bracket
with an underscore.
Hope this helps
2001-04-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/stl_iterator_base_funcs.h: Fix typo.
--- gcc/libstdc++-v3/include/bits/stl_iterator_base_funcs.h 2001/04/13 09:03:18 1.2
+++ gcc/libstdc++-v3/include/bits/stl_iterator_base_funcs.h 2001/04/30 17:48:41 1.3
@@ -107,7 +107,7 @@
}
template <class _InputIter, class _Distance>
-inline void __advance_InputIter& __i, _Distance __n, input_iterator_tag)
+inline void __advance(_InputIter& __i, _Distance __n, input_iterator_tag)
{