diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/FileCollector.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Support/FileCollector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/FileCollector.cpp b/contrib/llvm-project/llvm/lib/Support/FileCollector.cpp index c0ce6b5d74e8..92bcdf00b8a8 100644 --- a/contrib/llvm-project/llvm/lib/Support/FileCollector.cpp +++ b/contrib/llvm-project/llvm/lib/Support/FileCollector.cpp @@ -71,7 +71,7 @@ void FileCollector::PathCanonicalizer::updateWithRealPath( // cases? What if there is nothing on disk? if (sys::fs::real_path(Directory, RealPath)) return; - CachedDirs[Directory] = std::string(RealPath.str()); + CachedDirs[Directory] = std::string(RealPath); } else { RealPath = DirWithSymlink->second; } |