Build on linux,clang not support std::move

i have used std::move in my project
but there clang++3.8 complier
error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]

how resolved this problem but not remove std::move

i found there use std::move in engine souce,why i can’t use in my project

Hi,

Is it possible at all to post/attach a snippet of the code you are trying to compile? Or at-least an easily reproducible case?

Without any reference, my initial response would be that you do not need to use std::move as the temporary object would be assigned by the move assignment operator.

i resolved this problem by modify buildtool source finally