diff options
-rw-r--r-- | libstdc++-v3/testsuite/20_util/from_chars/4.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/20_util/from_chars/4.cc b/libstdc++-v3/testsuite/20_util/from_chars/4.cc index 23fc990..8148560 100644 --- a/libstdc++-v3/testsuite/20_util/from_chars/4.cc +++ b/libstdc++-v3/testsuite/20_util/from_chars/4.cc @@ -338,7 +338,7 @@ test_max_mantissa() VERIFY( flt == val ); std::string s2 = s.substr(0, len - 5); - s2.insert(s2.cbegin() + orig_len - 1, '.'); + s2.insert(s2.begin() + orig_len - 1, '.'); s2 += "e000000000001"; res = std::from_chars(s.data(), s.data() + len, flt, fmt); VERIFY( res.ec == std::errc{} ); |