mirror of https://github.com/CGAL/cgal
Use default for copy constructors
This commit is contained in:
parent
556764d638
commit
15a323e3fa
|
|
@ -81,8 +81,7 @@ public:
|
||||||
|
|
||||||
Light_MQ(const Local_map& m): m_map(m)
|
Light_MQ(const Local_map& m): m_map(m)
|
||||||
{}
|
{}
|
||||||
Light_MQ(const Light_MQ& lmq): m_map(lmq.m_map)
|
Light_MQ(const Light_MQ&) = default;
|
||||||
{}
|
|
||||||
|
|
||||||
const Local_map& get_local_map() const
|
const Local_map& get_local_map() const
|
||||||
{ return m_map; }
|
{ return m_map; }
|
||||||
|
|
@ -143,16 +142,7 @@ public:
|
||||||
#endif //CGAL_PWRLE_TURN_V2
|
#endif //CGAL_PWRLE_TURN_V2
|
||||||
{}
|
{}
|
||||||
|
|
||||||
Path_on_surface_with_rle(const Self& apath): m_MQ(apath.m_MQ),
|
Path_on_surface_with_rle(const Self&) = default;
|
||||||
m_path(apath.m_path),
|
|
||||||
m_is_closed(apath.m_is_closed),
|
|
||||||
m_length(apath.m_length),
|
|
||||||
m_use_only_positive(apath.m_use_only_positive),
|
|
||||||
m_use_only_negative(apath.m_use_only_negative)
|
|
||||||
#ifdef CGAL_PWRLE_TURN_V2
|
|
||||||
, m_darts_ids(apath.m_darts_ids)
|
|
||||||
#endif //CGAL_PWRLE_TURN_V2
|
|
||||||
{}
|
|
||||||
|
|
||||||
/// Creates a Path_on_surface_with_rle from a Path_on_surface.
|
/// Creates a Path_on_surface_with_rle from a Path_on_surface.
|
||||||
/// If use_only_positive, consider only positive flats and not negative ones.
|
/// If use_only_positive, consider only positive flats and not negative ones.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue