summaryrefslogtreecommitdiff
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index b79cecb59..8523a445d 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -2683,13 +2683,13 @@ void Session::addBuiltinSource(
// We need to retain this AST so that we can use it in other code
// (Note that the `Scope` type does not retain the AST it points to)
- loadedModuleCode.add(module);
+ stdlibModules.add(module);
}
Session::~Session()
{
// destroy modules next
- loadedModuleCode = decltype(loadedModuleCode)();
+ stdlibModules = decltype(stdlibModules)();
}
}