From 691016dc12d6560dfa06c68826a3afeb23a245e2 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Sat, 3 Aug 2019 17:04:46 +0200 Subject: [PATCH] osdc: Fix a missing ':' for the correct namespace Clang complains: /home/jenkins/workspace/ceph-master/src/osdc/ObjectCacher.cc:1848:22: error: no viable constructor or deduction guide for deduction of template arguments of 'unique_lock' std::unique_lock l{lock, std:adopt_lock}; Signed-off-by: Willem Jan Withagen --- src/osdc/ObjectCacher.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdc/ObjectCacher.cc b/src/osdc/ObjectCacher.cc index bc8f915a7f9..eef08b9b2d7 100644 --- a/src/osdc/ObjectCacher.cc +++ b/src/osdc/ObjectCacher.cc @@ -1845,7 +1845,7 @@ void ObjectCacher::_maybe_wait_for_writeback(uint64_t len, flusher_cond.notify_all(); stat_dirty_waiting += len; ++stat_nr_dirty_waiters; - std::unique_lock l{lock, std:adopt_lock}; + std::unique_lock l{lock, std::adopt_lock}; stat_cond.wait(l); l.release(); stat_dirty_waiting -= len; -- 2.39.5