diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2024-12-22 15:12:13 -0500 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2024-12-22 15:12:13 -0500 |
| commit | ba65c8976f54d4da2467074235a12f5be0bd5ebc (patch) | |
| tree | 955d5995f211d8a7a24f7b106912773db5e3a5ba /include/shard/ISAMTree.h | |
| parent | 5617bed5257506d3dfda8537b16f44b3e40f1b42 (diff) | |
| download | dynamic-extension-ba65c8976f54d4da2467074235a12f5be0bd5ebc.tar.gz | |
Continued development
Diffstat (limited to 'include/shard/ISAMTree.h')
| -rw-r--r-- | include/shard/ISAMTree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/shard/ISAMTree.h b/include/shard/ISAMTree.h index 64c0b2b..f6b525f 100644 --- a/include/shard/ISAMTree.h +++ b/include/shard/ISAMTree.h @@ -65,7 +65,7 @@ public: } } - ISAMTree(std::vector<ISAMTree *> const &shards) + ISAMTree(std::vector<const ISAMTree *> const &shards) : m_bf(nullptr), m_isam_nodes(nullptr), m_root(nullptr), m_reccnt(0), m_tombstone_cnt(0), m_internal_node_cnt(0), m_deleted_cnt(0), m_alloc_size(0) { @@ -93,7 +93,7 @@ public: delete m_bf; } - Wrapped<R> *point_lookup(const R &rec, bool filter = false) { + Wrapped<R> *point_lookup(const R &rec, bool filter = false) const { if (filter && !m_bf->lookup(rec)) { return nullptr; } |