summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_index.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-05-21 15:34:06 +0800
committerPeng Wu <alexepico@gmail.com>2012-05-21 15:34:06 +0800
commitc34f87b345d762882c265a638d306f10b21d4cf8 (patch)
tree1d67471d4158109c59b11397b40ebd455d324149 /src/storage/phrase_index.h
parent4f7701c4d33c8b2df7c1cc29b1abf81ab7110e5c (diff)
downloadlibpinyin-c34f87b345d762882c265a638d306f10b21d4cf8.tar.gz
libpinyin-c34f87b345d762882c265a638d306f10b21d4cf8.tar.xz
libpinyin-c34f87b345d762882c265a638d306f10b21d4cf8.zip
rename compat to compact
Diffstat (limited to 'src/storage/phrase_index.h')
-rw-r--r--src/storage/phrase_index.h6
1 files changed, 3 insertions, 3 deletions
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: