From c06c1c09d933e4abb32faa0add1ec232b0b66978 Mon Sep 17 00:00:00 2001 From: Alex Tsui Date: Tue, 6 Nov 2012 19:45:28 +0000 Subject: [PATCH] Fixed a bug where we try to deref a reference in get_decorated_mesh(). --- .../include/CGAL/Parameterization_mesh_patch_3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Surface_mesh_parameterization/include/CGAL/Parameterization_mesh_patch_3.h b/Surface_mesh_parameterization/include/CGAL/Parameterization_mesh_patch_3.h index bad3d1a86ce..728e7b16e5d 100644 --- a/Surface_mesh_parameterization/include/CGAL/Parameterization_mesh_patch_3.h +++ b/Surface_mesh_parameterization/include/CGAL/Parameterization_mesh_patch_3.h @@ -255,8 +255,8 @@ public: } /// @return the decorated mesh. - Adaptor& get_decorated_mesh() { return *m_mesh_adaptor; } - const Adaptor& get_decorated_mesh() const { return *m_mesh_adaptor; } + Adaptor& get_decorated_mesh() { return m_mesh_adaptor; } + const Adaptor& get_decorated_mesh() const { return m_mesh_adaptor; } //////////////////////////////////////////////////////////////////// /// @subheading Methods implementing the ParameterizationMesh_3 interface