libstdc++: Fix errors when syncbuf is used without RTTI
authorJonathan Wakely <jwakely@redhat.com>
Fri, 12 Feb 2021 11:36:27 +0000 (11:36 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 12 Feb 2021 14:30:12 +0000 (14:30 +0000)
commit14b554c462d5b6450fa24afb7ba55435ebd4b46f
tree7a95f0951be279ee5c16c0a3f691e925041c5b08
parent4591f7e5329dcc6ee9af2f314a050936d470ab5b
libstdc++: Fix errors when syncbuf is used without RTTI

libstdc++-v3/ChangeLog:

* include/std/ostream (__syncbuf_base::_S_get): Mark parameter
as unused and only use dynamic_cast when RTTI is enabled.
libstdc++-v3/include/std/ostream