summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_large_table.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-08-25 17:53:07 +0800
committerPeng Wu <alexepico@gmail.com>2010-08-25 17:53:07 +0800
commitc7232e9e4545596913892f478405b8e8febc6e4b (patch)
tree20da49323bac546fe082220ae62d155f21f6927b /src/storage/phrase_large_table.h
parent5b86b689d2bdf08778888d05faa9babe39d91464 (diff)
downloadlibpinyin-c7232e9e4545596913892f478405b8e8febc6e4b.tar.gz
libpinyin-c7232e9e4545596913892f478405b8e8febc6e4b.tar.xz
libpinyin-c7232e9e4545596913892f478405b8e8febc6e4b.zip
fixes compile errors
Diffstat (limited to 'src/storage/phrase_large_table.h')
-rw-r--r--src/storage/phrase_large_table.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/storage/phrase_large_table.h b/src/storage/phrase_large_table.h
index 007c392..3c140b9 100644
--- a/src/storage/phrase_large_table.h
+++ b/src/storage/phrase_large_table.h
@@ -28,7 +28,7 @@
namespace novel{
-const size_t PHRASE_Number_Of_Bitmap_Index = 1<< (sizeof(utf16_t) * 8);
+const size_t PHRASE_Number_Of_Bitmap_Index = 1<<(sizeof(utf16_t) * 8);
class PhraseLengthIndexLevel;
@@ -39,7 +39,7 @@ protected:
void reset();
public:
PhraseBitmapIndexLevel();
- ~PhraseBitmapIndex(){
+ ~PhraseBitmapIndexLevel(){
reset();
}
@@ -59,6 +59,10 @@ class PhraseLengthIndexLevel{
protected:
GArray* m_phrase_array_indexes;
public:
+ PhraseLengthIndexLevel();
+ ~PhraseLengthIndexLevel();
+
+ /* load/store method */
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);