public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-10576] libstdc++: Deprecate __gnu_cxx::rope::erase(size_type) [PR102048]
@ 2022-04-26 13:13 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-04-26 13:13 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:dcd1fc4900fd101f8fa22883b6ac31e6f7601373
commit r10-10576-gdcd1fc4900fd101f8fa22883b6ac31e6f7601373
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.
libstdc++-v3/ChangeLog:
PR libstdc++/102048
* include/ext/rope (rope::erase(size_type)): Deprecate broken
function.
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 fb7bdb0d6f4..5597ecb8562 100644
--- a/libstdc++-v3/include/ext/rope
+++ b/libstdc++-v3/include/ext/rope
@@ -2388,7 +2388,7 @@ protected:
}
// Erase, single character
- void
+ _GLIBCXX_DEPRECATED void
erase(size_type __p)
{ erase(__p, __p + 1); }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-26 13:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26 13:13 [gcc r10-10576] 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).