summaryrefslogtreecommitdiffstats
path: root/source/slang/type-layout.h
diff options
context:
space:
mode:
authorTim Foley <tim.foley.is@gmail.com>2017-08-14 18:50:46 -0700
committerGitHub <noreply@github.com>2017-08-14 18:50:46 -0700
commitaeb247cdf02e4dcfc0bb6839cfd291be5128f8ad (patch)
tree7314b26e21ded966b6a4fe2430f0421c0c0970bd /source/slang/type-layout.h
parentbb66d6eddd649d8861cecefa2d6ccb7a28a827bc (diff)
parent9885c972a6bfa6f856e505cdd90d9b71fdbdadaf (diff)
Merge pull request #159 from tfoleyNV/name-type
Name type
Diffstat (limited to 'source/slang/type-layout.h')
-rw-r--r--source/slang/type-layout.h2
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;