From 5bc7eff657c24d773f04fe69c769903632b8956f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Wed, 27 May 2020 09:16:08 +0200 Subject: [PATCH] Fix missing const --- BGL/include/CGAL/boost/graph/IO/PLY.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BGL/include/CGAL/boost/graph/IO/PLY.h b/BGL/include/CGAL/boost/graph/IO/PLY.h index 598464359d6..468bda92ab8 100644 --- a/BGL/include/CGAL/boost/graph/IO/PLY.h +++ b/BGL/include/CGAL/boost/graph/IO/PLY.h @@ -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(&c), sizeof(c)); + os.write(reinterpret_cast(&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(&c), sizeof(c)); + os.write(reinterpret_cast(&c), sizeof(c)); } }