ETLCPP / etl

Embedded Template Library
https://www.etlcpp.com
MIT License
2.04k stars 371 forks source link

fix(unique_ptr): assigning nullptr to a null unique_ptr causes an assert #858

Closed dsludwig closed 3 months ago

dsludwig commented 3 months ago

The assertion in reset(): p_ != p is triggered by the unconditional reset(nullptr) when unique_ptr already is set to nullptr.

semanticdiff-com[bot] commented 3 months ago

Review changes with SemanticDiff.