summaryrefslogtreecommitdiffstats
path: root/include/shard/MemISAM.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shard/MemISAM.h')
-rw-r--r--include/shard/MemISAM.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/shard/MemISAM.h b/include/shard/MemISAM.h
index 8ac17e4..7bfbd3f 100644
--- a/include/shard/MemISAM.h
+++ b/include/shard/MemISAM.h
@@ -180,7 +180,7 @@ public:
return m_tombstone_cnt;
}
- R *point_lookup(R &rec, bool filter) {
+ R *point_lookup(const R &rec, bool filter) {
if (filter && !m_bf->lookup(rec.key)) {
return nullptr;