diff options
author | Peng Wu <alexepico@gmail.com> | 2016-01-27 15:55:06 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-01-27 15:55:06 +0800 |
commit | b564ca7a9266364f538ec548b02c1eee64c4d373 (patch) | |
tree | f261b349cd618633c4bb3ea990f997ce8d336459 /src/storage/phrase_large_table3_bdb.cpp | |
parent | b2277491f1261600e6a14f8a04bb95bc70b566e0 (diff) | |
download | libpinyin-b564ca7a9266364f538ec548b02c1eee64c4d373.tar.gz libpinyin-b564ca7a9266364f538ec548b02c1eee64c4d373.tar.xz libpinyin-b564ca7a9266364f538ec548b02c1eee64c4d373.zip |
fixes compile
Diffstat (limited to 'src/storage/phrase_large_table3_bdb.cpp')
-rw-r--r-- | src/storage/phrase_large_table3_bdb.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/phrase_large_table3_bdb.cpp b/src/storage/phrase_large_table3_bdb.cpp index f41a454..13acb9c 100644 --- a/src/storage/phrase_large_table3_bdb.cpp +++ b/src/storage/phrase_large_table3_bdb.cpp @@ -20,6 +20,7 @@ */ #include "phrase_large_table3.h" +#include <errno.h> namespace pinyin{ @@ -29,7 +30,7 @@ PhraseLargeTable3::PhraseLargeTable3() { m_entry = NULL; } -PhraseLargeTable3::reset() { +void PhraseLargeTable3::reset() { if (m_db) { m_db->sync(m_db, 0); m_db->close(m_db, 0); |