- Fixed Clang errors with delayed templates on.

This commit is contained in:
Edoardo Prezioso 2016-11-11 15:22:53 +01:00
commit 8d01ba7733
2 changed files with 8 additions and 6 deletions

View file

@ -2244,8 +2244,9 @@ FxExpression *ZCCCompiler::SetupActionFunction(PClass *cls, ZCC_TreeNode *af)
{
if (fc->Parameters == nullptr && !(afd->Variants[0].Flags & VARF_Virtual))
{
FArgumentList argumentlist;
// We can use this function directly without wrapping it in a caller.
return new FxVMFunctionCall(new FxSelf(*af), afd, FArgumentList(), *af, false);
return new FxVMFunctionCall(new FxSelf(*af), afd, argumentlist, *af, false);
}
}
else