public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r9-10050] libstdc++: Deprecate __gnu_cxx::rope::erase(size_type) [PR102048]
@ 2022-05-09 16:39 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-05-09 16:39 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:44afdb5f23ed752fb7b3ac095831ba65901c45f2

commit r9-10050-g44afdb5f23ed752fb7b3ac095831ba65901c45f2
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Apr 21 14:12:25 2022 +0100

    libstdc++: Deprecate __gnu_cxx::rope::erase(size_type) [PR102048]
    
    This function is broken, and has been removed for GCC 11 and 12.
    Deprecate it for GCC 10 and GCC 9.
    
    libstdc++-v3/ChangeLog:
    
            PR libstdc++/102048
            * include/ext/rope (rope::erase(size_type)): Deprecate broken
            function.
    
    (cherry picked from commit 05ad54a8e67b31126351b9f15e1e42ac67650d6d)

Diff:
---
 libstdc++-v3/include/ext/rope | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/ext/rope b/libstdc++-v3/include/ext/rope
index 127d113c349..44ff974eba7 100644
--- a/libstdc++-v3/include/ext/rope
+++ b/libstdc++-v3/include/ext/rope
@@ -2383,7 +2383,7 @@ protected:
       }
 
       // Erase, single character
-      void
+      _GLIBCXX_DEPRECATED void
       erase(size_t __p)
       { erase(__p, __p + 1); }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-09 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 16:39 [gcc r9-10050] libstdc++: Deprecate __gnu_cxx::rope::erase(size_type) [PR102048] Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).