summaryrefslogtreecommitdiffstats
path: root/include/shard/LoudsPatricia.h
diff options
context:
space:
mode:
authorDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2024-12-22 15:12:13 -0500
committerDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2024-12-22 15:12:13 -0500
commitba65c8976f54d4da2467074235a12f5be0bd5ebc (patch)
tree955d5995f211d8a7a24f7b106912773db5e3a5ba /include/shard/LoudsPatricia.h
parent5617bed5257506d3dfda8537b16f44b3e40f1b42 (diff)
downloaddynamic-extension-ba65c8976f54d4da2467074235a12f5be0bd5ebc.tar.gz
Continued development
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;
}