Skip to content

Commit

Permalink
Merge pull request #84 from ex-bart/fix-simd-reference-swap-args
Browse files Browse the repository at this point in the history
[parallel.simd.reference] Fix swap value_type params to be lvalues
  • Loading branch information
jaredhoberock authored Mar 7, 2019
2 parents 0911983 + 9073c66 commit 1a41318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simd.tex
Original file line number Diff line number Diff line change
Expand Up @@ -823,8 +823,8 @@
value_type operator--(int) && noexcept;

friend void swap(reference&& a, reference&& b) noexcept;
friend void swap(value_type&& a, reference&& b) noexcept;
friend void swap(reference&& a, value_type&& b) noexcept;
friend void swap(value_type& a, reference&& b) noexcept;
friend void swap(reference&& a, value_type& b) noexcept;
};
\end{codeblock}

Expand Down

0 comments on commit 1a41318

Please sign in to comment.