summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ast-decl.cpp')
-rw-r--r--source/slang/slang-ast-decl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ast-decl.cpp b/source/slang/slang-ast-decl.cpp
index 9931bbcaf..261378b9a 100644
--- a/source/slang/slang-ast-decl.cpp
+++ b/source/slang/slang-ast-decl.cpp
@@ -56,7 +56,7 @@ void ContainerDecl::buildMemberDictionary()
if (dictionaryLastCount < 0)
{
dictionaryLastCount = 0;
- memberDictionary.Clear();
+ memberDictionary.clear();
transparentMembers.clear();
}
@@ -92,7 +92,7 @@ void ContainerDecl::buildMemberDictionary()
m->nextInContainerWithSameName = nullptr;
Decl* next = nullptr;
- if (memberDictionary.TryGetValue(name, next))
+ if (memberDictionary.tryGetValue(name, next))
m->nextInContainerWithSameName = next;
memberDictionary[name] = m;