mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 13:25:56 +08:00
Read from hint database file in binary style
This commit is contained in:
parent
38ecef036a
commit
46e84dfd35
@ -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…
x
Reference in New Issue
Block a user