You must not use std::move when returning a value, just let RVO do its job. The compiler will make it so that the variable you are returning from your function will be constructed in-place at the variable you are assigning the function call to.
However, if you are compiling at -O0 without any optimizations this may not happen.