From 2b1c710953266728f170b2592f3bb1a5ba4edb53 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Fri, 19 Jul 2024 11:25:12 -0700 Subject: [PATCH] Add noop getMetricsV1 to HashTable.cpp --- HashTable.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/HashTable.cpp b/HashTable.cpp index fc6f434..e3fa477 100644 --- a/HashTable.cpp +++ b/HashTable.cpp @@ -98,6 +98,13 @@ void ConflictSet::setOldestVersion(int64_t oldestVersion) { int64_t ConflictSet::getBytes() const { return -1; } +void ConflictSet::getMetricsV1(MetricsV1 **metrics, int *count) const { + *metrics = nullptr; + *count = 0; +} + +double ConflictSet::MetricsV1::getValue() const { return 0; } + ConflictSet::ConflictSet(int64_t oldestVersion) : impl(new(safe_malloc(sizeof(Impl))) Impl{oldestVersion}) {}