std::shared_ptr<T>::unique() is deprecated in C++17 and removed in C++20.
Change to checking for use_count() >/== 1. PiperOrigin-RevId: 510125744 Change-Id: I572cca18c3f827f5d3eefb2ec19a1a014c0090ae
Showing
Please
register
or
sign in
to comment