CC_iterator(CC_iterator&&) is now `= default`

That fixes a segmentation fault with Visual Studio in Skin Surface
Meshing.
This commit is contained in:
Laurent Rineau 2020-02-28 14:01:20 +01:00
parent a060fb6396
commit e3d7f7946d
1 changed files with 1 additions and 9 deletions

View File

@ -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;