summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-syntax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-syntax.cpp')
-rw-r--r--source/slang/slang-syntax.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-syntax.cpp b/source/slang/slang-syntax.cpp
index 67d562f0f..d9eb884f0 100644
--- a/source/slang/slang-syntax.cpp
+++ b/source/slang/slang-syntax.cpp
@@ -927,7 +927,7 @@ FuncType* getFuncType(ASTBuilder* astBuilder, DeclRef<CallableDecl> const& declR
}
if (paramDecl->findModifier<RefModifier>())
{
- paramType = astBuilder->getRefType(paramType, AddressSpace::Generic);
+ paramType = astBuilder->getRefType(paramType);
}
else if (paramDecl->findModifier<ConstRefModifier>())
{