From 552c01f6205fc615fa3e7b1f6666818b1296ebb3 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 10 Apr 2025 18:33:57 -0400 Subject: [SharedCache] Fix building on some toolchains Implicit std::filesystem::path conversion oops --- view/sharedcache/core/SharedCacheView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/sharedcache/core/SharedCacheView.cpp') 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); -- cgit v1.3.1