[BOLT][NFC] Refactor reset-release to move assignment
Summary: Follow the clang-tidy suggestion to replace reset-release with move assignment. Move assignment's effect for unique_ptr: > Effects: Transfers ownership from `u` to `*this` as if by calling `reset(u.release())` followed by an assignment from `std::forward<D>(u.get_deleter())`.
Loading
Please sign in to comment