It seems like std::move is missing. That's a C++ 11 function,

http://en.cppreference.com/w/cpp/utility/move

I guess you must either use a compiler with C++ 11 support or a pre-11 version of...