Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset size_ to 0 in PinnableSlice::Reset (facebook#4962)
Summary: It would avoid bugs if the reused PinnableSlice is not actually reassigned and yet the programmer makes conclusions based on the size of the Slice. Pull Request resolved: facebook#4962 Differential Revision: D14012710 Pulled By: maysamyabandeh fbshipit-source-id: 23f4e173386b5461fd5650f44cde470805f4e816
- Loading branch information