Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Gorshenin <y@maps.me>2015-10-12 14:16:53 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:02:23 +0300
commit35043b1cdc026639c921c058d20d469d00897b14 (patch)
treeafbf41145773888dc0555443eebc3d1a85aadf26 /indexer/rank_table.cpp
parent98f9ae306b308856e28dd00df31799f3cc771f5c (diff)
[search] Fixed rank table serialization.
Diffstat (limited to 'indexer/rank_table.cpp')
-rw-r--r--indexer/rank_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/rank_table.cpp b/indexer/rank_table.cpp
index 6b4577aedf..7319d17631 100644
--- a/indexer/rank_table.cpp
+++ b/indexer/rank_table.cpp
@@ -211,7 +211,7 @@ void SerializeRankTable(RankTable & table, FilesContainerW & wcont)
void SerializeRankTable(RankTable & table, string const & mapPath)
{
- FilesContainerW wcont(mapPath);
+ FilesContainerW wcont(mapPath, FileWriter::OP_WRITE_EXISTING);
SerializeRankTable(table, wcont);
}