Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: remove usage of
std::shared_ptr<T>::unique()
`std::shared_ptr<T>::unique()` has been removed in C++20, so this change uses `std::shared_ptr<T>::use_count()` instead which is available in C++20. Fixes: #47311 Signed-off-by: Darshan Sen <raisinten@gmail.com>
- Loading branch information