Use default for copy constructors

This commit is contained in:
Guillaume Damiand 2021-01-22 17:48:08 +01:00
parent 556764d638
commit 15a323e3fa
1 changed files with 2 additions and 12 deletions

View File

@ -81,8 +81,7 @@ public:
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
{ return m_map; }
@ -143,16 +142,7 @@ public:
#endif //CGAL_PWRLE_TURN_V2
{}
Path_on_surface_with_rle(const Self& apath): m_MQ(apath.m_MQ),
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
{}
Path_on_surface_with_rle(const Self&) = default;
/// Creates a Path_on_surface_with_rle from a Path_on_surface.
/// If use_only_positive, consider only positive flats and not negative ones.