OSDN Git Service

2009-11-08 Jason Merrill <jason@redhat.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Nov 2009 00:26:03 +0000 (00:26 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Nov 2009 00:26:03 +0000 (00:26 +0000)
* include/ext/sso_string_base.h (_M_mutate): Remove extra 'const'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154025 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/sso_string_base.h

index 8661b23..118acb4 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-08  Jason Merrill  <jason@redhat.com>
+
+       * include/ext/sso_string_base.h (_M_mutate): Remove extra 'const'.
+
 2009-11-06  Benjamin Kosnik  <bkoz@redhat.com>
 
        * doc/doxygen/user.cfg.in: Adjust includes.
index 6d2af7c..d88297f 100644 (file)
@@ -529,7 +529,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
     void
     __sso_string_base<_CharT, _Traits, _Alloc>::
     _M_mutate(size_type __pos, size_type __len1, const _CharT* __s,
-             const size_type __len2)
+             size_type __len2)
     {
       const size_type __how_much = _M_length() - __pos - __len1;