Resolved move semantics for unique_ptr.