summaryrefslogtreecommitdiff
path: root/contrib/libstdc++/std/bastring.cc
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-03-27 03:00:06 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-03-27 03:00:06 +0000
commit3e26bdf09c5e0a4e9b015a5f02b9c948454010e1 (patch)
tree36f3f9a09138cd7071d3de64269ad734e9d9c50b /contrib/libstdc++/std/bastring.cc
parent536abd52d2bd3b3830d8ac369f03865f32e4d496 (diff)
Diffstat (limited to 'contrib/libstdc++/std/bastring.cc')
-rw-r--r--contrib/libstdc++/std/bastring.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libstdc++/std/bastring.cc b/contrib/libstdc++/std/bastring.cc
index f86f6d30157c6..3093b9e129d3e 100644
--- a/contrib/libstdc++/std/bastring.cc
+++ b/contrib/libstdc++/std/bastring.cc
@@ -1,5 +1,5 @@
// Member templates for the -*- C++ -*- string classes.
-// Copyright (C) 1994, 1999 Free Software Foundation
+// Copyright (C) 1994 Free Software Foundation
// This file is part of the GNU ANSI C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -94,14 +94,14 @@ check_realloc (basic_string::size_type s) const
template <class charT, class traits, class Allocator>
void basic_string <charT, traits, Allocator>::
-alloc (basic_string::size_type __size, bool __save)
+alloc (basic_string::size_type size, bool save)
{
- if (! check_realloc (__size))
+ if (! check_realloc (size))
return;
- Rep *p = Rep::create (__size);
+ Rep *p = Rep::create (size);
- if (__save)
+ if (save)
{
p->copy (0, data (), length ());
p->len = length ();