diff options
Diffstat (limited to 'source/slang')
| -rw-r--r-- | source/slang/slang-file-system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-file-system.cpp b/source/slang/slang-file-system.cpp index 2583a7562..58cda679d 100644 --- a/source/slang/slang-file-system.cpp +++ b/source/slang/slang-file-system.cpp @@ -249,7 +249,7 @@ SlangResult CacheFileSystem::_calcUniqueIdentity(const String& path, String& out { outUniqueIdentity = Path::simplify(path); // If it still has relative elements can't uniquely identify, so give up - return Path::isRelative(outUniqueIdentity) ? SLANG_FAIL : SLANG_OK; + return Path::hasRelativeElement(outUniqueIdentity) ? SLANG_FAIL : SLANG_OK; } case UniqueIdentityMode::SimplifyPathAndHash: case UniqueIdentityMode::Hash: |
