diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2024-12-22 15:12:13 -0500 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2024-12-22 15:12:13 -0500 |
| commit | ba65c8976f54d4da2467074235a12f5be0bd5ebc (patch) | |
| tree | 955d5995f211d8a7a24f7b106912773db5e3a5ba /include/shard/FSTrie.h | |
| parent | 5617bed5257506d3dfda8537b16f44b3e40f1b42 (diff) | |
| download | dynamic-extension-ba65c8976f54d4da2467074235a12f5be0bd5ebc.tar.gz | |
Continued development
Diffstat (limited to 'include/shard/FSTrie.h')
| -rw-r--r-- | include/shard/FSTrie.h | 6 |
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; } |