diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-12-01 16:10:31 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-12-01 16:10:31 +0000 |
commit | ad8fda29e6274dd28aa11d15e98cc777f56ffb37 (patch) | |
tree | cbcd2bcd1eedc33308c2d88a1941d9e0541edb7f /gcc | |
parent | f03858e51d91334e1645222fa40b1f6bd563fb61 (diff) | |
download | gcc-ad8fda29e6274dd28aa11d15e98cc777f56ffb37.zip gcc-ad8fda29e6274dd28aa11d15e98cc777f56ffb37.tar.gz gcc-ad8fda29e6274dd28aa11d15e98cc777f56ffb37.tar.bz2 |
Fix narrowing conversions in string_view types
* include/experimental/string_view (basic_string_view::_S_compare):
Use value-init so narrowing conversions are not ill-formed.
* include/std/string_view (basic_string_view::_S_compare): Likewise.
From-SVN: r255321
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions