stl_iterator_base_funcs.h (__advance): Fix.
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Mon, 30 Apr 2001 18:07:51 +0000 (18:07 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Mon, 30 Apr 2001 18:07:51 +0000 (18:07 +0000)
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

From-SVN: r41691

libstdc++-v3/include/bits/stl_iterator_base_funcs.h

index 8520e9da611ce970626216b39f6b3db8d763111b..6162fd8132327bb01b7691b018742629dfb47bc2 100644 (file)
@@ -107,7 +107,7 @@ distance(_InputIterator __first, _InputIterator __last)
 }
 
 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)
 {
   // concept requirements
   __glibcpp_function_requires(_InputIteratorConcept<_InputIter>);