diff options
Diffstat (limited to 'src/buildtool/file_system/git_cas.hpp')
-rw-r--r-- | src/buildtool/file_system/git_cas.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/file_system/git_cas.hpp b/src/buildtool/file_system/git_cas.hpp index c1223411..e6eed664 100644 --- a/src/buildtool/file_system/git_cas.hpp +++ b/src/buildtool/file_system/git_cas.hpp @@ -64,12 +64,12 @@ class GitCAS { private: std::unique_ptr<git_odb, decltype(&odb_closer)> odb_{nullptr, odb_closer}; // git folder path of repo - std::filesystem::path git_path_{}; + std::filesystem::path git_path_; // mutex to guard odb while setting up a "fake" repository; it needs to be // uniquely owned while wrapping the odb, but then git operations are free // to share it. - mutable std::shared_mutex mutex_{}; + mutable std::shared_mutex mutex_; [[nodiscard]] auto OpenODB(std::filesystem::path const& repo_path) noexcept -> bool; |