Skip to content
Commit 8d4006a0 authored by Richard Trieu's avatar Richard Trieu
Browse files

Do not give a -Wredundant-move warning when removing the move will result in an

error.

If the object being moved has a move constructor and a deleted copy constructor,
std::move is required, otherwise Clang will give a deleted constructor error.

llvm-svn: 243463
parent 7227cc1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment