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
No known key found for this signature in database
GPG Key ID: 05F3611E97A70ABF
1 changed files with 1 additions and 1 deletions

View File

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