]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
fix: Fix crash when finding storage helper next to the ccache executable
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 8 Mar 2026 12:32:28 +0000 (13:32 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 8 Mar 2026 16:24:42 +0000 (17:24 +0100)
src/ccache/storage/storage.hpp

index dc0a699856e06b0adba21b4b3795599863c96fab..a160db24a680ba329c949ca618d1a7608a4f1eb7 100644 (file)
@@ -75,7 +75,7 @@ public:
 
 private:
   const Config& m_config;
-  const std::filesystem::path& m_ccache_exe_dir;
+  std::filesystem::path m_ccache_exe_dir;
   std::vector<std::unique_ptr<RemoteStorageEntry>> m_remote_storages;
 
   void init_remote_storage();