diff options
Diffstat (limited to 'source/slang/slang-syntax.cpp')
| -rw-r--r-- | source/slang/slang-syntax.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-syntax.cpp b/source/slang/slang-syntax.cpp index 0b92d07af..d6efb47b3 100644 --- a/source/slang/slang-syntax.cpp +++ b/source/slang/slang-syntax.cpp @@ -706,7 +706,7 @@ Index getFilterCountImpl(const ReflectClassInfo& clsInfo, MemberFilterStyle filt auto paramType = getParamType(astBuilder, paramDeclRef); if( paramDecl->findModifier<RefModifier>() ) { - paramType = astBuilder->getRefType(paramType); + paramType = astBuilder->getRefType(paramType, AddressSpace::Generic); } else if (paramDecl->findModifier<ConstRefModifier>()) { |
