Unverified Commit 65a1efc6 authored by James Touton's avatar James Touton Committed by GitHub
Browse files

Fixed shared_ptr comparisons with nullptr_t when spaceship is unavailable. (#76781)

This was causing compilation errors when attempting to compare a
`shared_ptr<T[]>` with `nullptr`, as `get()` returns `T*` rather than `T
(*)[]`. `unique_ptr` did not have this issue, but I've added tests to
make sure.
parent 0804ef2d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment