diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/storage/facade_phrase_table3.h | 4 | ||||
| -rw-r--r-- | src/storage/phrase_large_table3_bdb.cpp | 4 | ||||
| -rw-r--r-- | src/storage/phrase_large_table3_bdb.h | 4 | ||||
| -rw-r--r-- | src/storage/phrase_large_table3_kyotodb.h | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/storage/facade_phrase_table3.h b/src/storage/facade_phrase_table3.h index f7b3c80..b84dc01 100644 --- a/src/storage/facade_phrase_table3.h +++ b/src/storage/facade_phrase_table3.h @@ -84,7 +84,7 @@ public: } if (user_filename) { m_user_phrase_table = new PhraseLargeTable3; - result = m_user_phrase_table->load + result = m_user_phrase_table->load_db (user_filename) || result; } return result; @@ -93,7 +93,7 @@ public: bool store(const char * new_user_filename) { if (NULL == m_user_phrase_table) return false; - return m_user_phrase_table->store(new_user_filename); + return m_user_phrase_table->store_db(new_user_filename); } /** diff --git a/src/storage/phrase_large_table3_bdb.cpp b/src/storage/phrase_large_table3_bdb.cpp index 13acb9c..19e7223 100644 --- a/src/storage/phrase_large_table3_bdb.cpp +++ b/src/storage/phrase_large_table3_bdb.cpp @@ -73,7 +73,7 @@ bool PhraseLargeTable3::attach(const char * dbfile, guint32 flags) { } /* load/store method */ -bool PhraseLargeTable3::load(const char * filename) { +bool PhraseLargeTable3::load_db(const char * filename) { reset(); /* create in memory db. */ @@ -130,7 +130,7 @@ bool PhraseLargeTable3::load(const char * filename) { return true; } -bool PhraseLargeTable3::store(const char * new_filename) { +bool PhraseLargeTable3::store_db(const char * new_filename) { DB * tmp_db = NULL; int ret = unlink(new_filename); diff --git a/src/storage/phrase_large_table3_bdb.h b/src/storage/phrase_large_table3_bdb.h index 8610607..8ff1bdf 100644 --- a/src/storage/phrase_large_table3_bdb.h +++ b/src/storage/phrase_large_table3_bdb.h @@ -50,9 +50,9 @@ public: /* load/store method */ /* use in-memory DBM here, for better performance. */ - bool load(const char * filename); + bool load_db(const char * filename); - bool store(const char * new_filename); + bool store_db(const char * new_filename); bool load_text(FILE * infile); diff --git a/src/storage/phrase_large_table3_kyotodb.h b/src/storage/phrase_large_table3_kyotodb.h index fa76ffe..ff6f0ce 100644 --- a/src/storage/phrase_large_table3_kyotodb.h +++ b/src/storage/phrase_large_table3_kyotodb.h @@ -50,9 +50,9 @@ public: /* load/store method */ /* use in-memory DBM here, for better performance. */ - bool load(const char * filename); + bool load_db(const char * filename); - bool store(const char * new_filename); + bool store_db(const char * new_filename); bool load_text(FILE * infile); |
