diff options
author | Peng Wu <alexepico@gmail.com> | 2012-08-31 15:00:06 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-08-31 15:01:44 +0800 |
commit | ea1c8d88ee73d012bb128122d4dc012921df49b6 (patch) | |
tree | d7cc6b3e78c3a37690ff77dc8fa244960bdb0643 /src | |
parent | 9ee32e665929ad81bd6688272868510eb5716d7c (diff) | |
download | libpinyin-ea1c8d88ee73d012bb128122d4dc012921df49b6.tar.gz libpinyin-ea1c8d88ee73d012bb128122d4dc012921df49b6.tar.xz libpinyin-ea1c8d88ee73d012bb128122d4dc012921df49b6.zip |
drop FacadePhraseIndex::clear_ranges method
Diffstat (limited to 'src')
-rw-r--r-- | src/storage/phrase_index.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h index 93704d6..d59865d 100644 --- a/src/storage/phrase_index.h +++ b/src/storage/phrase_index.h @@ -672,24 +672,6 @@ public: } /** - * FacadePhraseIndex::clear_ranges: - * @ranges: the ranges to be cleared. - * @returns: whether the clear operation is successful. - * - * Clear the ranges. - * - */ - bool clear_ranges(PhraseIndexRanges ranges) { - for (size_t i = 0; i < PHRASE_INDEX_LIBRARY_COUNT; ++i) { - GArray * range = ranges[i]; - if (range) { - g_array_set_size(range, 0); - } - } - return true; - } - - /** * FacadePhraseIndex::destroy_ranges: * @ranges: the ranges to be destroyed. * @returns: whether the destroy operation is successful. |