From: Matt Benjamin Date: Wed, 13 Apr 2016 13:19:40 +0000 (-0400) Subject: cohort_lru: define ctor for TreeX::Latch X-Git-Tag: v10.2.0~8^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=842828a32e2e2b90773d3a95cbb3e0deb9df40d4;p=ceph.git cohort_lru: define ctor for TreeX::Latch Signed-off-by: Matt Benjamin --- diff --git a/src/common/cohort_lru.h b/src/common/cohort_lru.h index 19a5c45ed0f8..e4cdb7d5cab9 100644 --- a/src/common/cohort_lru.h +++ b/src/common/cohort_lru.h @@ -290,6 +290,8 @@ namespace cohort { Partition* p; LK* lock; insert_commit_data commit_data; + + Latch() : p(nullptr), lock(nullptr) {} }; Partition& partition_of_scalar(uint64_t x) {