]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Pull in r242377 from upstream libc++ trunk (by Marshall Clow):
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 18 Feb 2017 14:44:14 +0000 (14:44 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 18 Feb 2017 14:44:14 +0000 (14:44 +0000)
commit1e4142a61e97ae016c495e7217f0d0165a77f514
tree8cfd9532892582a2a13ef3ce647835f9658eda71
parent880b6c9722ebade80381768f29696a6759681cea
Pull in r242377 from upstream libc++ trunk (by Marshall Clow):

  Make sure that __libcpp_compressed_pair_imp default-constructs its'
  members, rather than value-initializing them. Fixes PR#24137

This ensures std::make_shared<>'s default constructor properly
initializes to zero.

Direct commit to stable/9 and stable/10, since stable/11 and head
already have a newer version of libc++, including this fix.

Reported by: martin.beran@kernun.cz
PR: 217200

git-svn-id: svn://svn.freebsd.org/base/stable/10@313916 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/libc++/include/memory