aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/util/generation_hold_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/vespa/vespalib/util/generation_hold_list.h')
-rw-r--r--vespalib/src/vespa/vespalib/util/generation_hold_list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/util/generation_hold_list.h b/vespalib/src/vespa/vespalib/util/generation_hold_list.h
index bdb58afb504..ff58456dc2a 100644
--- a/vespalib/src/vespa/vespalib/util/generation_hold_list.h
+++ b/vespalib/src/vespa/vespalib/util/generation_hold_list.h
@@ -101,6 +101,8 @@ public:
size_t get_held_bytes() const { return _held_bytes.load(std::memory_order_relaxed); }
+ // Static size of _phase_2_list might depend on std::deque implementation
+ static constexpr size_t sizeof_phase_2_list = sizeof(ElemWithGenList);
};
}