This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[v3] Fix small typo in ext/sso_string
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 09 Nov 2009 01:27:13 +0100
- Subject: [v3] Fix small typo in ext/sso_string
Hi,
tested x86_64-linux, committed.
Paolo.
////////////////////
2009-11-08 Jason Merrill <jason@redhat.com>
* include/ext/sso_string_base.h (_M_mutate): Remove extra 'const'.
Index: include/ext/sso_string_base.h
===================================================================
--- include/ext/sso_string_base.h (revision 154015)
+++ include/ext/sso_string_base.h (working copy)
@@ -529,7 +529,7 @@
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;