ifstream should have binary mode

This commit is contained in:
Jane Tournois 2017-05-30 13:17:01 +02:00 committed by Simon Giraudot
parent 55c1972c22
commit 20b069852d
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ int main(int argc, char*argv[])
// Reads a .las point set file with normal vectors and colors
std::vector<PointWithColor> points; // store points
std::ifstream in(fname);
std::ifstream in(fname, std::ios_base::binary);
if (!in ||
!CGAL::read_las_points_with_properties