]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: shared_mutex_debug doesn't use empty group name for lockdep.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 12 Jul 2019 16:17:09 +0000 (12:17 -0400)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 15 Jul 2019 14:53:45 +0000 (10:53 -0400)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/common/shared_mutex_debug.h

index 7a453ca119867de8951be6a27dc447c6d9aed924..c0abf54b515655162cf2fce558fab5b662be6543 100644 (file)
@@ -19,10 +19,6 @@ class shared_mutex_debug :
   std::atomic<unsigned> 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,