libstdc++: Fix std::string error in Debug Mode
authorJonathan Wakely <jwakely@redhat.com>
Thu, 27 Feb 2020 15:13:16 +0000 (15:13 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 27 Feb 2020 15:13:16 +0000 (15:13 +0000)
commitf32a3662cda0492c7d18f32e9a8eac1054e69d62
tree06ec9b77e6f4687614077c659519286b10bf1891
parentda5f369df6dc500183737e251eb19d91f899b92d
libstdc++: Fix std::string error in Debug Mode

This fixes a test failure with -std=gnu++98 -D_GLIBCXX_DEBUG:

FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc (test for excess errors)

* include/debug/string (__gnu_debug::basic_string::insert): Fix for
C++98 where the member function of the base class returns void.
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/string