Skip to content

Commit

Permalink
fix custom pair implementation operator=
Browse files Browse the repository at this point in the history
  • Loading branch information
siposcsaba89 authored and stotko committed Sep 19, 2024
1 parent 1519a89 commit 1523669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdgpu/impl/utility_detail.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ constexpr STDGPU_HOST_DEVICE pair<T1, T2>&
pair<T1, T2>::operator=(pair<U1, U2>&& p)
{
first = forward<U1>(p.first);
second = forward<U1>(p.second);
second = forward<U2>(p.second);
return *this;
}

Expand Down

0 comments on commit 1523669

Please sign in to comment.