summaryrefslogtreecommitdiffstats
path: root/include/shard/LoudsPatricia.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shard/LoudsPatricia.h')
-rw-r--r--include/shard/LoudsPatricia.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/shard/LoudsPatricia.h b/include/shard/LoudsPatricia.h
index 3452839..fe0c30e 100644
--- a/include/shard/LoudsPatricia.h
+++ b/include/shard/LoudsPatricia.h
@@ -82,7 +82,7 @@ public:
delete[] temp_buffer;
}
- LoudsPatricia(std::vector<LoudsPatricia*> &shards)
+ LoudsPatricia(std::vector<const LoudsPatricia*> &shards)
: m_data(nullptr)
, m_reccnt(0)
, m_alloc_size(0)
@@ -178,11 +178,11 @@ public:
}
- size_t get_memory_usage() {
+ size_t get_memory_usage() const {
return m_louds->size();
}
- size_t get_aux_memory_usage() {
+ size_t get_aux_memory_usage() const {
return m_alloc_size;
}