]> CyberLeo.Net >> Repos - FreeBSD/stable/9.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)
commitbf52165906634dc6282de8cc7e818da1902fd74b
tree20d989023c7a24bedd08156cf818d70657221a9b
parent3cf78a8ef85772d08a8165e56bd6c06b08b87483
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/9@313916 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/libc++/include/memory