]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osdc: Fix a missing ':' for the correct namespace
authorWillem Jan Withagen <wjw@digiware.nl>
Sat, 3 Aug 2019 15:04:46 +0000 (17:04 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Sat, 3 Aug 2019 15:04:46 +0000 (17:04 +0200)
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 <wjw@digiware.nl>
src/osdc/ObjectCacher.cc

index bc8f915a7f964b695b79d5f71811ceeb1dcaadb1..eef08b9b2d7f12b076717a60d516ab6ffcae5b12 100644 (file)
@@ -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;