diff options
Diffstat (limited to 'src/storage/phonetic_key_matrix.h')
-rw-r--r-- | src/storage/phonetic_key_matrix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/phonetic_key_matrix.h b/src/storage/phonetic_key_matrix.h index ef6d749..62edf73 100644 --- a/src/storage/phonetic_key_matrix.h +++ b/src/storage/phonetic_key_matrix.h @@ -58,7 +58,7 @@ public: return true; } - size_t size() { + size_t size() const { return m_table_content->len; } @@ -130,7 +130,7 @@ public: return m_keys.clear_all() && m_key_rests.clear_all(); } - size_t size() { + size_t size() const { assert(m_keys.size() == m_key_rests.size()); return m_keys.size(); } |