mirror of https://github.com/CGAL/cgal
Fix missing const
This commit is contained in:
parent
f36198e65f
commit
5bc7eff657
|
|
@ -304,7 +304,7 @@ bool write_PLY(std::ostream& os,
|
||||||
if(get_mode(os) == CGAL::IO::ASCII)
|
if(get_mode(os) == CGAL::IO::ASCII)
|
||||||
os << c << std::endl;
|
os << c << std::endl;
|
||||||
else
|
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)
|
if(get_mode(os) == CGAL::IO::ASCII)
|
||||||
os << c << std::endl;
|
os << c << std::endl;
|
||||||
else
|
else
|
||||||
os.write(reinterpret_cast<char*>(&c), sizeof(c));
|
os.write(reinterpret_cast<const char*>(&c), sizeof(c));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue