PackedSyncPtr.data_ is private
authorChristopher Dykes <cdykes@fb.com>
Wed, 1 Jun 2016 22:34:02 +0000 (15:34 -0700)
committerFacebook Github Bot 6 <facebook-github-bot-6-bot@fb.com>
Wed, 1 Jun 2016 22:38:31 +0000 (15:38 -0700)
commit9016ec6fbb54eddfac81deacb0f30f3def1733c6
tree6fe1d3090f56c8ecfa38acba19a87cf734ac2c5d
parent70497e418f27ef544cf2cb47e56244e26c6e5e90
PackedSyncPtr.data_ is private

Summary: As the (now removed) comment says, GCC 4.6 doesn't treat structs with private members as POD types... The thing is, GCC 4.6 is long dead, so make `data_` private and assert that it's a POD type.

Reviewed By: meyering

Differential Revision: D3373172

fbshipit-source-id: b2f1ee59d544461fe986705164cc6c866af62865
folly/PackedSyncPtr.h