Make LockedPtr assignable
Summary: Currently each of the lock proxies have distinct types and they are not convertible from one to the other, for example the code below does not work ``` auto wlock = sync.wlock(); wlock.unlock(); auto ulock = sync.ulock(); wlock = ulock.moveFromUpgradeToWrite(); ``` Reviewed By: yfeldblum Differential Revision: D7658256 fbshipit-source-id: 1746a67193fc712fd4d4ff2ce41aa295f998211e
Showing
Please register or sign in to comment