summaryrefslogtreecommitdiff
path: root/src/utils/cpp/file_locking.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-09-30 12:16:43 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-07 13:37:39 +0200
commitce23db59c6399199fa55b4b7dc8880522e2f1bca (patch)
tree5b77d3c84289f023cbe6f4a81cf391a0087fe660 /src/utils/cpp/file_locking.hpp
parente5d7cb5ce5b9cc40b0c56b18980a4234118c1739 (diff)
downloadjustbuild-ce23db59c6399199fa55b4b7dc8880522e2f1bca.tar.gz
Enable readability-redundant-member-init check.
Diffstat (limited to 'src/utils/cpp/file_locking.hpp')
-rw-r--r--src/utils/cpp/file_locking.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/cpp/file_locking.hpp b/src/utils/cpp/file_locking.hpp
index f8ac1443..abcca121 100644
--- a/src/utils/cpp/file_locking.hpp
+++ b/src/utils/cpp/file_locking.hpp
@@ -50,7 +50,7 @@ class LockFile {
private:
gsl::owner<FILE*> file_handle_{nullptr};
- std::filesystem::path lock_file_{};
+ std::filesystem::path lock_file_;
/// \brief Private ctor. Instances are only created by Acquire method.
explicit LockFile(gsl::owner<FILE*> file_handle,