summaryrefslogtreecommitdiff
path: root/contrib/libstdc++/std/bastring.cc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-01-22 02:59:08 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-01-22 02:59:08 +0000
commitcbab3205286065bef3f77788d973d62378b6d6f0 (patch)
tree42c6ebe0872fe26c06d5ea952dadd4bcfa2e1fc2 /contrib/libstdc++/std/bastring.cc
parent8107fa79b5a07b188ea370ae2b31c29855b05e26 (diff)
Notes
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 3093b9e129d3..f86f6d30157c 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 Free Software Foundation
+// Copyright (C) 1994, 1999 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 ();