summaryrefslogtreecommitdiffstats
path: root/source/compiler-core/slang-include-system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core/slang-include-system.cpp')
-rw-r--r--source/compiler-core/slang-include-system.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler-core/slang-include-system.cpp b/source/compiler-core/slang-include-system.cpp
index 455ecde2b..9cd193ec6 100644
--- a/source/compiler-core/slang-include-system.cpp
+++ b/source/compiler-core/slang-include-system.cpp
@@ -132,7 +132,7 @@ SlangResult IncludeSystem::loadFile(const PathInfo& pathInfo, ComPtr<ISlangBlob>
sourceFile = m_sourceManager->createSourceFileWithBlob(pathInfo, foundSourceBlob);
m_sourceManager->addSourceFile(pathInfo.uniqueIdentity, sourceFile);
- sourceFile->maybeAddArtifact(m_fileSystemExt);
+ sourceFile->maybeAddArtifact(nullptr, m_fileSystemExt);
outBlob = foundSourceBlob;
return SLANG_OK;
@@ -152,7 +152,7 @@ SlangResult IncludeSystem::loadFile(const PathInfo& pathInfo, ComPtr<ISlangBlob>
}
sourceFile->setContents(foundSourceBlob);
- sourceFile->maybeAddArtifact(m_fileSystemExt);
+ sourceFile->maybeAddArtifact(nullptr, m_fileSystemExt);
outBlob = foundSourceBlob;
return SLANG_OK;