aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-12-01 16:10:31 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2017-12-01 16:10:31 +0000
commitad8fda29e6274dd28aa11d15e98cc777f56ffb37 (patch)
treecbcd2bcd1eedc33308c2d88a1941d9e0541edb7f /gcc
parentf03858e51d91334e1645222fa40b1f6bd563fb61 (diff)
downloadgcc-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