diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index bc0ecb5658bbd..ef620ee94b830 100644 --- a/src/osdc/Objecter.h +++ b/src/osdc/Objecter.h @@ -1249,7 +1249,7 @@ class Objecter : public md_config_obs_t, public Dispatcher { version_t last_seen_pgmap_version; mutable boost::shared_mutex rwlock; - using lock_guard = std::unique_lock; + using lock_guard = std::lock_guard; using unique_lock = std::unique_lock; using shared_lock = boost::shared_lock; using shunique_lock = ceph::shunique_lock;