diff options
| author | Yong He <yonghe@outlook.com> | 2021-06-02 11:37:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-02 11:37:45 -0700 |
| commit | 8e571669b3c8d4ac8236d0aed7a960bf88ad2bd1 (patch) | |
| tree | 60ea6e452d7f28649225fbd93d17702e0af45720 /source/slang/slang-type-layout.h | |
| parent | 7e93e8164c74f61b61ea66f215304abdf453965b (diff) | |
Fix cyclic reference in `ExtendedTypeLayout`. (#1868)
Diffstat (limited to 'source/slang/slang-type-layout.h')
| -rw-r--r-- | source/slang/slang-type-layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-type-layout.h b/source/slang/slang-type-layout.h index 52b575787..be7ccdf8f 100644 --- a/source/slang/slang-type-layout.h +++ b/source/slang/slang-type-layout.h @@ -467,7 +467,7 @@ public: Name* getName() { return getVariable()->getName(); } // The result of laying out the variable's type - RefPtr<TypeLayout> typeLayout; + TransformablePtr<TypeLayout> typeLayout; TypeLayout* getTypeLayout() { return typeLayout.Ptr(); } // Additional flags |
