mirror of https://github.com/CGAL/cgal
id() should be const with no ref
This commit is contained in:
parent
77ea587d47
commit
ce41bc6925
|
|
@ -55,8 +55,7 @@ public:
|
||||||
: Primitive_base(it,t_pmap),m_ppmap(p_pmap), m_it(it)
|
: Primitive_base(it,t_pmap),m_ppmap(p_pmap), m_it(it)
|
||||||
{}
|
{}
|
||||||
public:
|
public:
|
||||||
Id& id() { return m_it; }
|
Id id() const { return m_it; }
|
||||||
const Id& id() const { return m_it; }
|
|
||||||
|
|
||||||
typename Primitive_base::result_type datum() const {
|
typename Primitive_base::result_type datum() const {
|
||||||
return this->get_primitive(m_it);
|
return this->get_primitive(m_it);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue