summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_large_table.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-08-23 14:08:53 +0800
committerPeng Wu <alexepico@gmail.com>2010-08-23 14:08:53 +0800
commit29fd54b78973059b8df54f6607c1c9722b2d6c72 (patch)
treefb479d8169aaf087d7d58ce225618e78a34d875a /src/storage/phrase_large_table.h
parent241aedc1bcd468389851ad3aaa748463c73a8a5a (diff)
downloadlibpinyin-29fd54b78973059b8df54f6607c1c9722b2d6c72.tar.gz
libpinyin-29fd54b78973059b8df54f6607c1c9722b2d6c72.tar.xz
libpinyin-29fd54b78973059b8df54f6607c1c9722b2d6c72.zip
fixes a typo.
Diffstat (limited to 'src/storage/phrase_large_table.h')
-rw-r--r--src/storage/phrase_large_table.h6
1 files changed, 3 insertions, 3 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[],