diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-12-14 15:26:42 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-12-14 22:04:42 +0000 |
commit | 2ef5200a6fb7311074904a1b4bf7ce750618a068 (patch) | |
tree | 0467a2810a7a45748cad8ac3d67c940542c4d477 /gcc | |
parent | ae034b9106fbdd855ec22ce221bb61a1a9a532c3 (diff) | |
download | gcc-2ef5200a6fb7311074904a1b4bf7ce750618a068.zip gcc-2ef5200a6fb7311074904a1b4bf7ce750618a068.tar.gz gcc-2ef5200a6fb7311074904a1b4bf7ce750618a068.tar.bz2 |
libstdc++: Fix %S format of duration with floating-point rep
I got the order of arguments to std::format_to wrong. It was in a
discarded statement, for a case which wasn't being tested.
libstdc++-v3/ChangeLog:
* include/bits/chrono_io.h (__formatter_chrono::_M_S): Fix order
of arguments to std::format_to.
* testsuite/20_util/duration/io.cc: Test subsecond duration with
floating-point rep.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions