From 281d691ea7cef600f9f2b584cd7b158f1ea1d553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Wed, 23 Aug 2023 13:37:08 +0200 Subject: [PATCH] More consts --- src/OpenMesh/Core/IO/writer/PLYWriter.cc | 2 +- src/OpenMesh/Core/IO/writer/PLYWriter.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenMesh/Core/IO/writer/PLYWriter.cc b/src/OpenMesh/Core/IO/writer/PLYWriter.cc index 52b86075..63984b45 100644 --- a/src/OpenMesh/Core/IO/writer/PLYWriter.cc +++ b/src/OpenMesh/Core/IO/writer/PLYWriter.cc @@ -252,7 +252,7 @@ void _PLYWriter_::write_customProp(std::ostream& _out, const CustomProperty& _pr -void _PLYWriter_::write_header(std::ostream& _out, BaseExporter& _be, Options& _opt, std::vector& _ovProps, std::vector& _ofProps) const { +void _PLYWriter_::write_header(std::ostream& _out, const BaseExporter& _be, Options& _opt, std::vector& _ovProps, std::vector& _ofProps) const { //writing header _out << "ply" << '\n'; diff --git a/src/OpenMesh/Core/IO/writer/PLYWriter.hh b/src/OpenMesh/Core/IO/writer/PLYWriter.hh index 67cc310c..c081162e 100644 --- a/src/OpenMesh/Core/IO/writer/PLYWriter.hh +++ b/src/OpenMesh/Core/IO/writer/PLYWriter.hh @@ -153,7 +153,7 @@ protected: bool write_ascii(std::ostream& _out, BaseExporter&, Options) const; bool write_binary(std::ostream& _out, BaseExporter&, Options) const; /// write header into the stream _out. Returns custom properties (vertex and face) which are written into the header - void write_header(std::ostream& _out, BaseExporter& _be, Options& _opt, std::vector& _ovProps, std::vector& _ofProps) const; + void write_header(std::ostream& _out, const BaseExporter& _be, Options& _opt, std::vector& _ovProps, std::vector& _ofProps) const; };