Fixed compiler error with GCC.

This commit is contained in:
Patrick Lühne 2017-03-15 17:08:40 +01:00
parent 73f67f5c17
commit ad9850fa7c
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -72,7 +72,7 @@ struct TermTranslateVisitor
function->arguments.emplace_back(std::move(translatedArgument.value())); function->arguments.emplace_back(std::move(translatedArgument.value()));
} }
return function; return std::move(function);
} }
default: default:
throwErrorAtLocation(term.location, "symbol type not supported", context); throwErrorAtLocation(term.location, "symbol type not supported", context);