PR libstdc++/38719
* include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
_Fwd_list_const_iterator::_M_next): Fix return type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143052
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR libstdc++/38719
+ * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
+ _Fwd_list_const_iterator::_M_next): Fix return type.
+
2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
* Revert last commit, reopen and suspend libstdc++/38678.
// <forward_list.h> -*- C++ -*-
-// Copyright (C) 2008 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
operator!=(const _Self& __x) const
{ return this->_M_node != __x._M_node; }
- const _Self&
+ _Self
_M_next() const
{
if (_M_node)
operator!=(const _Self& __x) const
{ return this->_M_node != __x._M_node; }
- const _Self&
+ _Self
_M_next() const
{
if (this->_M_node)