mirror of https://github.com/CGAL/cgal
fix binary ofstream
This commit is contained in:
parent
a791ea131e
commit
2e5174f349
|
|
@ -1397,7 +1397,7 @@ namespace Tetrahedral_remeshing
|
|||
template<typename C3t3>
|
||||
void dump_binary(const C3t3& c3t3, const char* filename)
|
||||
{
|
||||
std::ofstream os(filename);
|
||||
std::ofstream os(filename, std::ios::binary | std::ios::out);
|
||||
CGAL::Mesh_3::save_binary_file(os, c3t3);
|
||||
os.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue