]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rope: Qualify calls to std::copy() by sequence_buffer.
authorJonathan Wakely <redi@gcc.gnu.org>
Sun, 16 Jan 2005 22:08:43 +0000 (22:08 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 16 Jan 2005 22:08:43 +0000 (22:08 +0000)
2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>

* include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
* testsuite/ext/rope/4.cc: Add.

From-SVN: r93740

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/rope

index abc6803251bd67bfd7056b514bfb36831448e43d..3a32cb451f78cf6c43273b68231a28effaf80375 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>
+
+       * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
+       * testsuite/ext/rope/4.cc: Add.
+
 2005-01-12  Paolo Carlini  <pcarlini@suse.de>
 
        * include/bits/stl_algobase.h (lexicographical_compare):
index 95afd82e0b55900bf70b590c3df89a86d3c5c4ab..b4bf2c9650caba92756dd75f4f8f5707164e6717 100644 (file)
@@ -1,6 +1,6 @@
 // SGI's rope class -*- C++ -*-
 
-// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -152,7 +152,7 @@ class sequence_buffer : public iterator<std::output_iterator_tag,void,void,void,
         sequence_buffer(const sequence_buffer& __x) {
             _M_prefix = __x._M_prefix;
             _M_buf_count = __x._M_buf_count;
-            copy(__x._M_buffer, __x._M_buffer + __x._M_buf_count, _M_buffer);
+            std::copy(__x._M_buffer, __x._M_buffer + __x._M_buf_count, _M_buffer);
         }
         sequence_buffer(sequence_buffer& __x) {
             __x.flush();
@@ -169,7 +169,7 @@ class sequence_buffer : public iterator<std::output_iterator_tag,void,void,void,
         sequence_buffer& operator= (const sequence_buffer& __x) {
             _M_prefix = __x._M_prefix;
             _M_buf_count = __x._M_buf_count;
-            copy(__x._M_buffer, __x._M_buffer + __x._M_buf_count, _M_buffer);
+            std::copy(__x._M_buffer, __x._M_buffer + __x._M_buf_count, _M_buffer);
             return *this;
         }
         void push_back(value_type __x)