DescriptionChange scoped_ptr::reset()'s behaviour to match unique_ptr.
unique_ptr::reset() is defined to update its pointer before deleting the
old pointer. An interim change was introduced 2 years ago to try and
catch cases which relied on the pointer being set after deletion.
BUG=176091
Committed: https://crrev.com/0d4ef2583a6f19c3e61be04d36eb1a60b133832c
Cr-Commit-Position: refs/heads/master@{#350422}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Expand comment. #
Dependent Patchsets: Messages
Total messages: 14 (4 generated)
|