From 32b04bf652dca5d8e4d9980a9066d6ada19c868c Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 14 Sep 2010 16:10:33 +0800 Subject: add test case for compat method --- utils/storage/gen_binary_files.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/storage/gen_binary_files.cpp') diff --git a/utils/storage/gen_binary_files.cpp b/utils/storage/gen_binary_files.cpp index 5e7f619..0873283 100644 --- a/utils/storage/gen_binary_files.cpp +++ b/utils/storage/gen_binary_files.cpp @@ -89,6 +89,8 @@ int main(int argc, char * argv[]){ phrase_index.load_text(2, infile); fclose(infile); + phrase_index.compat(); + new_chunk = new MemoryChunk; phrase_index.store(1, new_chunk); new_chunk->save("../../data/gb_char.bin"); -- cgit