Fix missing const

This commit is contained in:
Mael Rouxel-Labbé 2020-05-27 09:16:08 +02:00
parent f36198e65f
commit 5bc7eff657
1 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ bool write_PLY(std::ostream& os,
if(get_mode(os) == CGAL::IO::ASCII)
os << c << std::endl;
else
os.write(reinterpret_cast<char*>(&c), sizeof(c));
os.write(reinterpret_cast<const char*>(&c), sizeof(c));
}
}
@ -324,7 +324,7 @@ bool write_PLY(std::ostream& os,
if(get_mode(os) == CGAL::IO::ASCII)
os << c << std::endl;
else
os.write(reinterpret_cast<char*>(&c), sizeof(c));
os.write(reinterpret_cast<const char*>(&c), sizeof(c));
}
}