Fixed a bug where we try to deref a reference in get_decorated_mesh().

This commit is contained in:
Alex Tsui 2012-11-06 19:45:28 +00:00
parent 3b23fc1a1f
commit c06c1c09d9
1 changed files with 2 additions and 2 deletions

View File

@ -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