aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-11-08 19:26:03 -0500
committerPaolo Carlini <paolo@gcc.gnu.org>2009-11-09 00:26:03 +0000
commit624d3e576000fbdd0ccc84f2f3365e6f13efe215 (patch)
treeb7c80dfa64ed189daee043a738dbdd79effc2c85 /libstdc++-v3
parent9cdab33fbd84777cc90f0bc348223345f2d4d161 (diff)
downloadgcc-624d3e576000fbdd0ccc84f2f3365e6f13efe215.zip
gcc-624d3e576000fbdd0ccc84f2f3365e6f13efe215.tar.gz
gcc-624d3e576000fbdd0ccc84f2f3365e6f13efe215.tar.bz2
sso_string_base.h (_M_mutate): Remove extra 'const'.
2009-11-08 Jason Merrill <jason@redhat.com> * include/ext/sso_string_base.h (_M_mutate): Remove extra 'const'. From-SVN: r154025
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/ext/sso_string_base.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 8661b23..118acb4 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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.
diff --git a/libstdc++-v3/include/ext/sso_string_base.h b/libstdc++-v3/include/ext/sso_string_base.h
index 6d2af7c..d88297f 100644
--- a/libstdc++-v3/include/ext/sso_string_base.h
+++ b/libstdc++-v3/include/ext/sso_string_base.h
@@ -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;