summaryrefslogtreecommitdiff
path: root/source/slang/type-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/type-layout.h')
-rw-r--r--source/slang/type-layout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/type-layout.h b/source/slang/type-layout.h
index df937c1d4..07867fddb 100644
--- a/source/slang/type-layout.h
+++ b/source/slang/type-layout.h
@@ -219,8 +219,8 @@ class VarLayout : public RefObject
{
public:
// The variable we are laying out
- VarDeclBaseRef varDecl;
- VarDeclBase* getVariable() { return varDecl.GetDecl(); }
+ DeclRef<VarDeclBase> varDecl;
+ VarDeclBase* getVariable() { return varDecl.getDecl(); }
String const& getName() { return getVariable()->getName(); }