Effectively replace both: Reset(const TSharedPtr& t) Reset(TSharedPtr&& t)
| 914 | // Reset(const TSharedPtr& t) |
| 915 | // Reset(TSharedPtr&& t) |
| 916 | Y_REINITIALIZES_OBJECT inline void Reset(TSharedPtr t) noexcept { |
| 917 | Swap(t); |
| 918 | } |
| 919 | |
| 920 | Y_REINITIALIZES_OBJECT inline void Reset() noexcept { |
| 921 | Drop(); |