summaryrefslogtreecommitdiffstats
path: root/source/compiler-core/slang-artifact-handler-impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core/slang-artifact-handler-impl.cpp')
-rw-r--r--source/compiler-core/slang-artifact-handler-impl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/compiler-core/slang-artifact-handler-impl.cpp b/source/compiler-core/slang-artifact-handler-impl.cpp
index d7c3f02b6..9bf4313a9 100644
--- a/source/compiler-core/slang-artifact-handler-impl.cpp
+++ b/source/compiler-core/slang-artifact-handler-impl.cpp
@@ -176,12 +176,12 @@ SlangResult DefaultArtifactHandler::_createOSFile(IArtifact* artifact, ArtifactK
path = UnownedStringSlice(extRep->getPath());
break;
}
- case OSPathKind::Canonical:
+ case OSPathKind::OperatingSystem:
{
- ComPtr<ISlangBlob> canonicalPathBlob;
- if (SLANG_SUCCEEDED(system->getCanonicalPath(extRep->getPath(), canonicalPathBlob.writeRef())))
+ ComPtr<ISlangBlob> osPathBlob;
+ if (SLANG_SUCCEEDED(system->getPath(PathKind::OperatingSystem, extRep->getPath(), osPathBlob.writeRef())))
{
- path = StringUtil::getString(canonicalPathBlob);
+ path = StringUtil::getString(osPathBlob);
}
break;
}