[committed] libstdc++: Silence -Woverloaded-virtual warning in cxx11-ios_failure.cc
Jonathan Wakely
jwakely@redhat.com
Sun Sep 22 16:48:19 GMT 2024
Tested x86_64-linux. Pushed to trunk.
-- >8 --
libstdc++-v3/ChangeLog:
* src/c++11/cxx11-ios_failure.cc (__iosfail_type_info): Unhide
the three-arg overload of __do_upcast.
---
libstdc++-v3/src/c++11/cxx11-ios_failure.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libstdc++-v3/src/c++11/cxx11-ios_failure.cc b/libstdc++-v3/src/c++11/cxx11-ios_failure.cc
index bd3fd556bd4..70dddc82389 100644
--- a/libstdc++-v3/src/c++11/cxx11-ios_failure.cc
+++ b/libstdc++-v3/src/c++11/cxx11-ios_failure.cc
@@ -94,6 +94,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{
~__iosfail_type_info();
+ using __si_class_type_info::__do_upcast;
+
bool
__do_upcast (const __class_type_info *dst_type,
void **obj_ptr) const override;
--
2.46.0
More information about the Libstdc++
mailing list