Fixed compiler error with GCC.
This commit is contained in:
parent
73f67f5c17
commit
ad9850fa7c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user