Skip to content

Commit 552c01f

Browse files
committed
[SharedCache] Fix building on some toolchains
Implicit std::filesystem::path conversion oops
1 parent 52d519e commit 552c01f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view/sharedcache/core/SharedCacheView.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ bool SharedCacheView::InitController()
851851
if (!primaryFileInfo.has_value())
852852
return false;
853853
auto [primaryFilePath, primaryFileName] = primaryFileInfo.value();
854-
auto primaryFileDir = std::filesystem::path(primaryFilePath).parent_path();
854+
std::string primaryFileDir = std::filesystem::path(primaryFilePath).parent_path().string();
855855

856856
// OK, we have the primary shared cache file, now let's add the entries.
857857
auto sharedCacheBuilder = SharedCacheBuilder(this);

0 commit comments

Comments
 (0)