diff options
Diffstat (limited to 'source/slang/slang-ir-union.cpp')
| -rw-r--r-- | source/slang/slang-ir-union.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ir-union.cpp b/source/slang/slang-ir-union.cpp index 3d0ed1fe8..caa646fb0 100644 --- a/source/slang/slang-ir-union.cpp +++ b/source/slang/slang-ir-union.cpp @@ -611,7 +611,7 @@ struct DesugarUnionTypesContext // { TaggedUnionInfo* info = nullptr; - if(mapIRTypeToTaggedUnionInfo.TryGetValue(type, info)) + if(mapIRTypeToTaggedUnionInfo.tryGetValue(type, info)) return info; } @@ -621,7 +621,7 @@ struct DesugarUnionTypesContext // so that we can replacement them later. // auto info = createTaggedUnionInfo(type); - mapIRTypeToTaggedUnionInfo.Add(type, info.Ptr()); + mapIRTypeToTaggedUnionInfo.add(type, info.Ptr()); taggedUnionInfos.add(info); return info; |
