]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix test for old string ABI
authorJonathan Wakely <jwakely@redhat.com>
Thu, 30 Jul 2020 15:04:59 +0000 (16:04 +0100)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:20:16 +0000 (13:20 -0300)
commit4dcee15414f38ccdb3882cdbe30ef41566d7442f
tree25637a625f68cb9006d2e0c5f966cb72007c1126
parentce6e78096f8ea798e31dbe982f50bf74de95a9f7
libstdc++: Fix test for old string ABI

The COW string doesn't accept const_iterator arguments in insert and
related member functions. Pass a mutable iterator instead.

libstdc++-v3/ChangeLog:

* testsuite/20_util/from_chars/4.cc: Pass non-const iterator
to string::insert.
libstdc++-v3/testsuite/20_util/from_chars/4.cc