Read from hint database file in binary style
This commit is contained in:
parent
38ecef036a
commit
46e84dfd35
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void read_used_binary(std::vector<std::string>& ids)
|
||||||
BOOST_LOG_TRIVIAL(warning) << "Failed to load to hints.cereal. File does not exists. " << path.string();
|
BOOST_LOG_TRIVIAL(warning) << "Failed to load to hints.cereal. File does not exists. " << path.string();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
boost::nowide::ifstream file(path.string());
|
boost::nowide::ifstream file(path.string(), std::ios::binary);
|
||||||
cereal::BinaryInputArchive archive(file);
|
cereal::BinaryInputArchive archive(file);
|
||||||
HintsCerealData cd;
|
HintsCerealData cd;
|
||||||
try
|
try
|
||||||
|
|
Loading…
Add table
Reference in a new issue