Problem with your patch
Peter Schmid
schmid@snake.iap.physik.tu-darmstadt.de
Mon Apr 30 11:28:00 GMT 2001
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)
{
More information about the Libstdc++
mailing list