summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-23 10:09:38 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-23 10:09:38 +0000
commit1df7bc0debe2b5146b1f3bafe84e8e2abf323f06 (patch)
tree8af0cd2769834341ae03454a7ac4de47f1a5d2df /libstdc++-v3/include/bits
parent497456568ee71f05fa172e71345e88b29b7c5b8f (diff)
downloadppe42-gcc-1df7bc0debe2b5146b1f3bafe84e8e2abf323f06.tar.gz
ppe42-gcc-1df7bc0debe2b5146b1f3bafe84e8e2abf323f06.zip
2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const by value parameters. * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140584 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits')
-rw-r--r--libstdc++-v3/include/bits/locale_facets.h3
-rw-r--r--libstdc++-v3/include/bits/locale_facets.tcc3
2 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h
index 25816608183..7280531fb24 100644
--- a/libstdc++-v3/include/bits/locale_facets.h
+++ b/libstdc++-v3/include/bits/locale_facets.h
@@ -94,8 +94,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
{
static void
_S_pad(ios_base& __io, _CharT __fill, _CharT* __news,
- const _CharT* __olds, const streamsize __newlen,
- const streamsize __oldlen);
+ const _CharT* __olds, streamsize __newlen, streamsize __oldlen);
};
// Used by both numeric and monetary facets.
diff --git a/libstdc++-v3/include/bits/locale_facets.tcc b/libstdc++-v3/include/bits/locale_facets.tcc
index 271f2bd2901..130aa915f7f 100644
--- a/libstdc++-v3/include/bits/locale_facets.tcc
+++ b/libstdc++-v3/include/bits/locale_facets.tcc
@@ -1221,8 +1221,7 @@ _GLIBCXX_END_LDBL_NAMESPACE
void
__pad<_CharT, _Traits>::_S_pad(ios_base& __io, _CharT __fill,
_CharT* __news, const _CharT* __olds,
- const streamsize __newlen,
- const streamsize __oldlen)
+ streamsize __newlen, streamsize __oldlen)
{
const size_t __plen = static_cast<size_t>(__newlen - __oldlen);
const ios_base::fmtflags __adjust = __io.flags() & ios_base::adjustfield;
OpenPOWER on IntegriCloud