commit | 91a582b4069923d017c8cc6bed9d3bb88656dcd2 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne.2@gmail.com> | Fri Feb 10 15:10:35 2023 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Feb 13 05:53:19 2023 -0800 |
tree | bf37a4e8ec3f048b06dcb7be618e0ff455f5f165 | |
parent | 549b2556da3802bfec427c66665b04e56afee060 [diff] |
[libc++] Fix bug in allocate_shared_for_overwrite Instead of destroying the object with allocator::destroy, we must call its destructor directly. As a fly-by also mark LWG3008 as fixed since it is handled by our implementation. This was pointed out by Tim Song in https://reviews.llvm.org/D140913. Differential Revision: https://reviews.llvm.org/D143791 GitOrigin-RevId: 5801090258011cfe636cda1493ac9bc07fb2a889