diff options
Diffstat (limited to 'source/slang/type-layout.h')
| -rw-r--r-- | source/slang/type-layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/type-layout.h b/source/slang/type-layout.h index 7d037b2e7..8a034b5a6 100644 --- a/source/slang/type-layout.h +++ b/source/slang/type-layout.h @@ -228,7 +228,7 @@ public: DeclRef<VarDeclBase> varDecl; VarDeclBase* getVariable() { return varDecl.getDecl(); } - String const& getName() { return getVariable()->getName(); } + Name* getName() { return getVariable()->getName(); } // The result of laying out the variable's type RefPtr<TypeLayout> typeLayout; |
