pfultz2/cppcheck

Move lvalue parameter

Opened this issue · 0 comments

template<class T>
std::vector<T> f(T& x)
{
    return{std::move(x)};
}