diff options
Diffstat (limited to 'generator')
-rw-r--r-- | generator/dumper.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generator/dumper.cpp b/generator/dumper.cpp index d03fb66254..8053344fa6 100644 --- a/generator/dumper.cpp +++ b/generator/dumper.cpp @@ -202,8 +202,7 @@ namespace feature feature::DataHeader header; header.Load(container.GetReader(HEADER_FILE_TAG)); - serial::CodingParams cp(search::POINT_CODING_BITS, - header.GetDefCodingParams().GetBasePointUint64()); + serial::CodingParams cp(search::GetCPForTrie(header.GetDefCodingParams())); scoped_ptr<search::TrieIterator> pTrieRoot( ::trie::reader::ReadTrie(container.GetReader(SEARCH_INDEX_FILE_TAG), |