mirror of https://github.com/cutefishos/calamares
[libcalamares] Use shared_ptr instead of unique_ptr
The value inside a unique_ptr can't be opaque, it needs to be known at any site where the pointer may be deleted. shared_ptr does not have that (deletion is part of the shared_ptr object, which is larger than the unique_ptr) and so can be used for opaque deletions.main
parent
1c4bf58fb4
commit
3150785ff1
Loading…
Reference in New Issue