try workaround warnings

This commit is contained in:
Sébastien Loriot 2022-11-17 19:11:00 +01:00
parent 4d797b55c4
commit 8bbbf8d494
4 changed files with 5 additions and 13 deletions

View File

@ -356,8 +356,7 @@ public:
const OuterFunctor& outer)
: _inner(inner), _outer(outer) {}
Unary_compose(const Unary_compose& other)
: _inner(other._inner), _outer(other._outer) {}
Unary_compose(const Unary_compose& other) = default;
Unary_compose() : _inner(::boost::none),_outer(::boost::none) {}

View File

@ -1147,8 +1147,7 @@ public:
Bitstream_descartes() : Base(new Rep()) {}
//! Copy constructor
Bitstream_descartes(const Self& other) : Base(static_cast<const Base&>(other))
{}
Bitstream_descartes(const Self& other) = default;
/*!
* \brief Constructor for a polynomial \c f

View File

@ -35,10 +35,7 @@ public:
{
}
AABB_segment_2_primitive(const AABB_segment_2_primitive &primitive)
{
m_it = primitive.id();
}
AABB_segment_2_primitive(const AABB_segment_2_primitive &primitive) = default;
const Id &id() const
{

View File

@ -30,10 +30,7 @@ class SNC_SM_explorer : public SMCDEC {
public:
SNC_SM_explorer(const Base& E) : Base(E) {}
Self& operator=(const Self& E) {
Base::operator=(E);
return *this;
}
Self& operator=(const Self& E) = default;
};
} //namespace CGAL