summaryrefslogtreecommitdiffstats
path: root/include/shard/FSTrie.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shard/FSTrie.h')
-rw-r--r--include/shard/FSTrie.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/shard/FSTrie.h b/include/shard/FSTrie.h
index 3783b38..4e51037 100644
--- a/include/shard/FSTrie.h
+++ b/include/shard/FSTrie.h
@@ -26,6 +26,8 @@ namespace de {
template <KVPInterface R>
class FSTrie {
+public:
+ typedef R RECORD;
private:
typedef decltype(R::key) K;
@@ -80,7 +82,7 @@ public:
delete[] temp_buffer;
}
- FSTrie(std::vector<FSTrie*> &shards)
+ FSTrie(std::vector<FSTrie*> const &shards)
: m_data(nullptr)
, m_reccnt(0)
, m_alloc_size(0)