From 29fd54b78973059b8df54f6607c1c9722b2d6c72 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 23 Aug 2010 14:08:53 +0800 Subject: fixes a typo. --- src/storage/phrase_large_table.h | 6 +++--- src/storage/pinyin_large_table.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/storage/phrase_large_table.h b/src/storage/phrase_large_table.h index 08ffa73..810b8ac 100644 --- a/src/storage/phrase_large_table.h +++ b/src/storage/phrase_large_table.h @@ -38,7 +38,7 @@ protected: //shift one utf16_t for class PhraseLengthIndexLevel, just like PinyinLengthIndexLevel. public: bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t &end); + bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /* search/add_index/remove_index method */ int search( int phrase_length, /* in */ utf16_t phrase[], @@ -53,7 +53,7 @@ protected: GArray* m_phrase_array_indexes; public: bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t end); + bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /* search/add_index/remove_index method */ int search( int phrase_length, /* in */ utf16_t phrase[], @@ -69,7 +69,7 @@ protected: MemoryChunk m_chunk; public: bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t &end); + bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /* search/add_index/remove_index method */ int search( /* in */ utf16_t phrase[], diff --git a/src/storage/pinyin_large_table.h b/src/storage/pinyin_large_table.h index f119ac2..b1e5386 100755 --- a/src/storage/pinyin_large_table.h +++ b/src/storage/pinyin_large_table.h @@ -53,7 +53,7 @@ public: } bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t &end); + bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /*bool load_text(FILE * file);*/ /*bool save_text(FILE * file);*/ @@ -72,7 +72,7 @@ public: PinyinLengthIndexLevel(); ~PinyinLengthIndexLevel(); bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t& end); + bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /*search/add_index method */ int search( int phrase_length, /* in */ PinyinCustomSettings * custom, @@ -93,7 +93,7 @@ protected: PhraseIndexRanges ranges); public: bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t& end); + bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /*search/add_index method */ int search(/* in */ PinyinCustomSettings * custom, -- cgit