diff options
author | Peng Wu <alexepico@gmail.com> | 2012-05-21 15:34:06 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-05-21 15:34:06 +0800 |
commit | c34f87b345d762882c265a638d306f10b21d4cf8 (patch) | |
tree | 1d67471d4158109c59b11397b40ebd455d324149 /src/storage/phrase_index.cpp | |
parent | 4f7701c4d33c8b2df7c1cc29b1abf81ab7110e5c (diff) | |
download | libpinyin-c34f87b345d762882c265a638d306f10b21d4cf8.tar.gz libpinyin-c34f87b345d762882c265a638d306f10b21d4cf8.tar.xz libpinyin-c34f87b345d762882c265a638d306f10b21d4cf8.zip |
rename compat to compact
Diffstat (limited to 'src/storage/phrase_index.cpp')
-rw-r--r-- | src/storage/phrase_index.cpp | 2 |
1 files changed, 1 insertions, 1 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 ) |