From ce23db59c6399199fa55b4b7dc8880522e2f1bca Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 30 Sep 2024 12:16:43 +0200 Subject: Enable readability-redundant-member-init check. --- src/buildtool/file_system/git_cas.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buildtool/file_system/git_cas.hpp') 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 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; -- cgit v1.2.3