diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-08-19 17:04:49 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-08-19 17:04:49 +0100 |
commit | 5abc821556e141c9b7003877d09d9dd9e9f98ae7 (patch) | |
tree | 53ff8373e601f975f903a99e0a86b74d958a5789 | |
parent | 386fd16c551188e20d5b1684b7139e4269f9a739 (diff) | |
download | gcc-5abc821556e141c9b7003877d09d9dd9e9f98ae7.zip gcc-5abc821556e141c9b7003877d09d9dd9e9f98ae7.tar.gz gcc-5abc821556e141c9b7003877d09d9dd9e9f98ae7.tar.bz2 |
libstdc++: Remove deprecated comparison operators for RB trees
These functions were deprecated in GCC 9.1.0 because they are never used
by the library. This patch removes them for GCC 11.
libstdc++-v3/ChangeLog:
* include/bits/stl_tree.h (operator!=, operator>, operator<=)
(operator>=): Remove deprecated functions.
-rw-r--r-- | libstdc++-v3/include/bits/stl_tree.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libstdc++-v3/include/bits/stl_tree.h b/libstdc++-v3/include/bits/stl_tree.h index 21b72ce..c50391d 100644 --- a/libstdc++-v3/include/bits/stl_tree.h +++ b/libstdc++-v3/include/bits/stl_tree.h @@ -1632,22 +1632,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION return std::lexicographical_compare(__x.begin(), __x.end(), __y.begin(), __y.end()); } - - friend bool _GLIBCXX_DEPRECATED - operator!=(const _Rb_tree& __x, const _Rb_tree& __y) - { return !(__x == __y); } - - friend bool _GLIBCXX_DEPRECATED - operator>(const _Rb_tree& __x, const _Rb_tree& __y) - { return __y < __x; } - - friend bool _GLIBCXX_DEPRECATED - operator<=(const _Rb_tree& __x, const _Rb_tree& __y) - { return !(__y < __x); } - - friend bool _GLIBCXX_DEPRECATED - operator>=(const _Rb_tree& __x, const _Rb_tree& __y) - { return !(__x < __y); } #endif }; |