[search] Fixed rank table serialization.

This commit is contained in:
Yuri Gorshenin 2015-10-12 14:16:53 +03:00 committed by Sergey Yershov
parent 98f9ae306b
commit 35043b1cdc

View file

@ -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);
}