From ba65c8976f54d4da2467074235a12f5be0bd5ebc Mon Sep 17 00:00:00 2001 From: "Douglas B. Rumbaugh" Date: Sun, 22 Dec 2024 15:12:13 -0500 Subject: Continued development --- include/shard/LoudsPatricia.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/shard/LoudsPatricia.h') 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 &shards) + LoudsPatricia(std::vector &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; } -- cgit v1.2.3