mirror of https://github.com/CGAL/cgal
CC_iterator(CC_iterator&&) is now `= default`
That fixes a segmentation fault with Visual Studio in Skin Surface Meshing.
This commit is contained in:
parent
a060fb6396
commit
e3d7f7946d
|
|
@ -908,15 +908,7 @@ namespace internal {
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
CC_iterator(CC_iterator&& it) noexcept
|
CC_iterator(CC_iterator&& it) = default;
|
||||||
#ifdef CGAL_COMPACT_CONTAINER_DEBUG_TIME_STAMP
|
|
||||||
: ts(Time_stamper::time_stamp(it.operator->()))
|
|
||||||
#endif
|
|
||||||
{
|
|
||||||
m_ptr.p = it.operator->();
|
|
||||||
it.m_ptr.p = nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
~CC_iterator() = default;
|
~CC_iterator() = default;
|
||||||
CC_iterator& operator=(const CC_iterator&) = default;
|
CC_iterator& operator=(const CC_iterator&) = default;
|
||||||
CC_iterator& operator=(CC_iterator&&) = default;
|
CC_iterator& operator=(CC_iterator&&) = default;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue