summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/SharedCacheView.cpp
diff options
context:
space:
mode:
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);