Handle copying intrusive_ptr_target correctly (#14428)
authorSebastian Messmer <messmer@fb.com>
Wed, 28 Nov 2018 21:37:31 +0000 (13:37 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 28 Nov 2018 21:41:48 +0000 (13:41 -0800)
commitf6dfd9d5451e74ac73d2d76911b5ef1251853fe4
treee360f2e1db78f688ba5dae15fd4b029a9c14c284
parent5f07b33857cea7f68067d67bd3e0c77dfc09592d
Handle copying intrusive_ptr_target correctly (#14428)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14428

See in-code comment

Reviewed By: ezyang

Differential Revision: D13223126

fbshipit-source-id: 1e87e6112bbcca6377ca04ef2ba25ef937931061
c10/util/intrusive_ptr.h