summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/SharedCacheView.cpp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-04-10 18:33:57 -0400
committerMason Reed <mason@vector35.com>2025-04-10 18:34:06 -0400
commit552c01f6205fc615fa3e7b1f6666818b1296ebb3 (patch)
tree1f89d9318d1874064f0ad1ab491775f25040bae6 /view/sharedcache/core/SharedCacheView.cpp
parent52d519eeb3438f7af345fb5ffe4caa612e55b402 (diff)
[SharedCache] Fix building on some toolchains
Implicit std::filesystem::path conversion oops
Diffstat (limited to 'view/sharedcache/core/SharedCacheView.cpp')
-rw-r--r--view/sharedcache/core/SharedCacheView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/sharedcache/core/SharedCacheView.cpp b/view/sharedcache/core/SharedCacheView.cpp
index 35c30446..049140c5 100644
--- a/view/sharedcache/core/SharedCacheView.cpp
+++ b/view/sharedcache/core/SharedCacheView.cpp
@@ -851,7 +851,7 @@ bool SharedCacheView::InitController()
if (!primaryFileInfo.has_value())
return false;
auto [primaryFilePath, primaryFileName] = primaryFileInfo.value();
- auto primaryFileDir = std::filesystem::path(primaryFilePath).parent_path();
+ std::string primaryFileDir = std::filesystem::path(primaryFilePath).parent_path().string();
// OK, we have the primary shared cache file, now let's add the entries.
auto sharedCacheBuilder = SharedCacheBuilder(this);