summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-options.cpp')
-rw-r--r--source/slang/slang-options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp
index 5b14ca24f..6351ffbd4 100644
--- a/source/slang/slang-options.cpp
+++ b/source/slang/slang-options.cpp
@@ -1506,7 +1506,7 @@ struct OptionsParser
return SLANG_FAIL;
}
}
- artifact->addItem(fileRep);
+ artifact->addRepresentation(fileRep);
SLANG_RETURN_ON_FAIL(_addLibraryReference(requestImpl, artifact));
}