diff options
Diffstat (limited to 'src/storage/ngram_kyotodb.h')
-rw-r--r-- | src/storage/ngram_kyotodb.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/storage/ngram_kyotodb.h b/src/storage/ngram_kyotodb.h index 6c5eea0..2c156de 100644 --- a/src/storage/ngram_kyotodb.h +++ b/src/storage/ngram_kyotodb.h @@ -22,7 +22,7 @@ #ifndef NGRAM_KYOTODB_H #define NGRAM_KYOTODB_H -#include <kchashdb.h> +#include <kcdb.h> #include "memory_chunk.h" namespace pinyin{ @@ -37,13 +37,11 @@ class SingleGram; */ class Bigram{ private: - kyotocabinet::DB * m_db; + kyotocabinet::BasicDB * m_db; /* memory chunk for Kyoto Cabinet. */ MemoryChunk m_chunk; - /* Note: sync mask_out code with ngram_bdb.cpp. */ - void reset(); public: |