summaryrefslogtreecommitdiffstats
path: root/include/framework/structure
diff options
context:
space:
mode:
Diffstat (limited to 'include/framework/structure')
-rw-r--r--include/framework/structure/BufferView.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/framework/structure/BufferView.h b/include/framework/structure/BufferView.h
index edf6707..4e3de25 100644
--- a/include/framework/structure/BufferView.h
+++ b/include/framework/structure/BufferView.h
@@ -123,7 +123,6 @@ public:
Wrapped<R> *get(size_t i) {
assert(i < get_record_count());
- m_total += (m_data + to_idx(i))->rec.key;
return m_data + to_idx(i);
}
@@ -159,8 +158,6 @@ private:
psudb::BloomFilter<R> *m_tombstone_filter;
bool m_active;
- size_t m_total;
-
size_t to_idx(size_t i) {
size_t idx = (m_start + i >= m_cap) ? i = (m_cap - m_start)
: m_start + i;