From 842828a32e2e2b90773d3a95cbb3e0deb9df40d4 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Wed, 13 Apr 2016 09:19:40 -0400 Subject: [PATCH] cohort_lru: define ctor for TreeX::Latch Signed-off-by: Matt Benjamin --- src/common/cohort_lru.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/cohort_lru.h b/src/common/cohort_lru.h index 19a5c45ed0f..e4cdb7d5cab 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) { -- 2.47.3