Unverified Commit f90f036e authored by michaelrj-google's avatar michaelrj-google Committed by GitHub
Browse files

[libc] Move in_use into OptionalStorage (#73569)

The previous optional class would call the destructor on a non-trivially
destructible object regardless of if it had already been reset. This
patch fixes this by moving tracking for if the object exists into the
internal storage class for optional.
parent 9a38a72f
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