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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/shard/FSTrie.h b/include/shard/FSTrie.h
index 4e51037..d720aad 100644
--- a/include/shard/FSTrie.h
+++ b/include/shard/FSTrie.h
@@ -82,7 +82,7 @@ public:
delete[] temp_buffer;
}
- FSTrie(std::vector<FSTrie*> const &shards)
+ FSTrie(std::vector<const FSTrie*> const &shards)
: m_data(nullptr)
, m_reccnt(0)
, m_alloc_size(0)
@@ -181,11 +181,11 @@ public:
}
- size_t get_memory_usage() {
+ size_t get_memory_usage() const {
return m_fst->getMemoryUsage();
}
- size_t get_aux_memory_usage() {
+ size_t get_aux_memory_usage() const {
return m_alloc_size;
}