From 1e0899608740b2e8ecd2e693f285258f4e5ca25b Mon Sep 17 00:00:00 2001 From: sascha Date: Thu, 7 May 2026 16:18:08 +0200 Subject: [PATCH] renamed a member variable --- test/core/object/ObjectCacheTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/core/object/ObjectCacheTest.cpp b/test/core/object/ObjectCacheTest.cpp index a0621f7..979f5ce 100644 --- a/test/core/object/ObjectCacheTest.cpp +++ b/test/core/object/ObjectCacheTest.cpp @@ -38,7 +38,7 @@ public: : participants_(participants) {} void arrive_and_wait() { - std::unique_lock lock(m_); + std::unique_lock lock(mutex_); ++arrived_; if (arrived_ >= participants_) { open_ = true; @@ -49,7 +49,7 @@ public: } private: - std::mutex m_; + std::mutex mutex_; std::condition_variable cv_; int participants_{0}; int arrived_{0};