summaryrefslogtreecommitdiffstats
path: root/tests/lookup/test_simple_lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lookup/test_simple_lookup.cpp')
-rw-r--r--tests/lookup/test_simple_lookup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lookup/test_simple_lookup.cpp b/tests/lookup/test_simple_lookup.cpp
index 7e4d256..96c512a 100644
--- a/tests/lookup/test_simple_lookup.cpp
+++ b/tests/lookup/test_simple_lookup.cpp
@@ -29,12 +29,12 @@ int main( int argc, char * argv[]){
PinyinCustomSettings custom;
PinyinLargeTable largetable(&custom);
- BitmapPinyinValidator validator;
- validator.initialize(&largetable);
-
MemoryChunk * new_chunk = new MemoryChunk;
new_chunk->load("../../data/pinyin_index.bin");
largetable.load(new_chunk);
+
+ BitmapPinyinValidator validator;
+ validator.initialize(&largetable);
FacadePhraseIndex phrase_index;
new_chunk = new MemoryChunk;