Fix Seam_mesh and Dispatch_output_iterator

This commit is contained in:
Andreas Fabri 2019-01-09 17:43:45 +01:00
parent 685a546c8c
commit 608c5c6ac8
2 changed files with 11 additions and 1 deletions

View File

@ -63,6 +63,11 @@ public:
: tmhd(tmhd), seam(seam)
{ }
#ifndef CGAL_CFG_NO_CPP0X_DELETED_AND_DEFAULT_FUNCTIONS
Seam_mesh_halfedge_descriptor&
operator=(const Seam_mesh_halfedge_descriptor&)=default;
#endif
bool operator==(const Seam_mesh_halfedge_descriptor& other) const
{
return (tmhd == other.tmhd) && (seam == other.seam);

View File

@ -1371,12 +1371,17 @@ public:
Dispatch_output_iterator(O... o) : cpp11::tuple<O...>(o...) {}
#ifndef CGAL_CFG_NO_CPP0X_DELETED_AND_DEFAULT_FUNCTIONS
Dispatch_output_iterator(const Dispatch_output_iterator&)=default;
#endif
Self& operator=(const Self& s)
{
static_cast<Iterator_tuple&>(*this) = static_cast<const Iterator_tuple&>(s);
return *this;
}
template<BOOST_VARIANT_ENUM_PARAMS(typename T)>
Self& operator=(const boost::variant<BOOST_VARIANT_ENUM_PARAMS(T) >& t) {
internal::Output_visitor<Self> visitor(this);