From: Radoslaw Zarzynski Date: Fri, 12 Jul 2019 16:17:09 +0000 (-0400) Subject: common: shared_mutex_debug doesn't use empty group name for lockdep. X-Git-Tag: v15.1.0~2183^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2118ca4bd55c78375f8449d34c6697a970472829;p=ceph-ci.git common: shared_mutex_debug doesn't use empty group name for lockdep. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/common/shared_mutex_debug.h b/src/common/shared_mutex_debug.h index 7a453ca1198..c0abf54b515 100644 --- a/src/common/shared_mutex_debug.h +++ b/src/common/shared_mutex_debug.h @@ -19,10 +19,6 @@ class shared_mutex_debug : std::atomic nrlock{0}; public: - // Mutex concept is DefaultConstructible - shared_mutex_debug() - : shared_mutex_debug{std::string{}} - {} shared_mutex_debug(const std::string& n, bool track_lock=true, bool enable_lock_dep=true,