From afad6fbd6cb66231a42b66f558b9d80cf765ef68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Wed, 27 May 2020 22:25:10 +0200 Subject: [PATCH] Add missing references --- BGL/include/CGAL/boost/graph/IO/INP.h | 10 +++++----- BGL/include/CGAL/boost/graph/IO/PLY.h | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/BGL/include/CGAL/boost/graph/IO/INP.h b/BGL/include/CGAL/boost/graph/IO/INP.h index 5524b30e3f5..35ec887426c 100644 --- a/BGL/include/CGAL/boost/graph/IO/INP.h +++ b/BGL/include/CGAL/boost/graph/IO/INP.h @@ -22,8 +22,8 @@ namespace CGAL { template bool write_INP(std::ostream& os, - const std::string name, - const std::string type, + const std::string& name, + const std::string& type, const FaceGraph& g, const CGAL_BGL_NP_CLASS& np) { @@ -71,7 +71,7 @@ bool write_INP(std::ostream& os, template bool write_INP(const char* fname, - const std::string type, + const std::string& type, const FaceGraph& g, const CGAL_BGL_NP_CLASS& np) { @@ -80,13 +80,13 @@ bool write_INP(const char* fname, } template -bool write_INP(std::ostream& os, const std::string name, const std::string type, const FaceGraph& g) +bool write_INP(std::ostream& os, const std::string& name, const std::string& type, const FaceGraph& g) { return write_INP(os, name, type, g, parameters::all_default()); } template -bool write_INP(const char* fname, const std::string type, const FaceGraph& g) +bool write_INP(const char* fname, const std::string& type, const FaceGraph& g) { return write_INP(fname, type, g, parameters::all_default()); } diff --git a/BGL/include/CGAL/boost/graph/IO/PLY.h b/BGL/include/CGAL/boost/graph/IO/PLY.h index 3ac92ae4cb3..8024c0daa4e 100644 --- a/BGL/include/CGAL/boost/graph/IO/PLY.h +++ b/BGL/include/CGAL/boost/graph/IO/PLY.h @@ -214,7 +214,7 @@ bool read_PLY(const std::string& fname, FaceGraph& g) template bool write_PLY(std::ostream& os, const FaceGraph& g, - const std::string comments, + const std::string& comments, const NamedParameters& np) { typedef typename boost::graph_traits::vertex_descriptor vertex_descriptor; @@ -334,7 +334,7 @@ bool write_PLY(std::ostream& os, template bool write_PLY(std::ostream& os, const FaceGraph& g, - const std::string comments) + const std::string& comments) { return write_PLY(os, g, comments, parameters::all_default()); } @@ -387,7 +387,7 @@ bool write_PLY(std::ostream& os, template bool write_PLY(const char* fname, const FaceGraph& g, - const std::string comments, + const std::string& comments, const NamedParameters& np) { std::ofstream os(fname);