diff options
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/phrase_index.cpp | 2 | ||||
-rw-r--r-- | src/storage/phrase_index.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp index 39abeee..ad7c60c 100644 --- a/src/storage/phrase_index.cpp +++ b/src/storage/phrase_index.cpp @@ -530,7 +530,7 @@ int SubPhraseIndex::get_range(/* out */ PhraseIndexRange & range){ return ERROR_OK; } -bool FacadePhraseIndex::compat(){ +bool FacadePhraseIndex::compact(){ for ( size_t index = 0; index < PHRASE_INDEX_LIBRARY_COUNT; ++index) { SubPhraseIndex * sub_phrase = m_sub_phrase_indices[index]; if ( !sub_phrase ) diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h index bb3f84b..4deac16 100644 --- a/src/storage/phrase_index.h +++ b/src/storage/phrase_index.h @@ -530,13 +530,13 @@ public: bool merge(guint8 phrase_index, MemoryChunk * log); /** - * FacadePhraseIndex::compat: - * @returns: whether the compat operation is successful. + * FacadePhraseIndex::compact: + * @returns: whether the compact operation is successful. * * Compat all sub phrase index memory usage. * */ - bool compat(); + bool compact(); /** * FacadePhraseIndex::get_sub_phrase_range: |