Removed un-needed calls to std::move
These calls were throwing a pessimistic move error and stopping compilation.
This commit is contained in:
@@ -45,9 +45,8 @@ boost::optional<ParameterT> parseParameters(std::string::iterator &iter,
|
||||
const auto ok =
|
||||
boost::spirit::qi::parse(iter, end, grammar(boost::phoenix::ref(parameters)));
|
||||
|
||||
// return move(a.b) is needed to move b out of a and then return the rvalue by implicit move
|
||||
if (ok && iter == end)
|
||||
return std::move(parameters);
|
||||
return parameters;
|
||||
}
|
||||
catch (const qi::expectation_failure<It> &failure)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user