mirror of https://github.com/CGAL/cgal
Add missing template argument when calling Copy_dart_info_functor; plus a cast for dual in order to get the correct type.
This commit is contained in:
parent
04e6e0f73b
commit
98cba35a39
|
|
@ -245,7 +245,7 @@ namespace CGAL {
|
|||
{
|
||||
dartmap[it]=mdarts.emplace();
|
||||
init_dart(dartmap[it], amap.get_marks(it));
|
||||
internal::Copy_dart_info_functor<CMap2, Refs>::run
|
||||
internal::Copy_dart_info_functor<CMap2, Refs, DartInfoConverter>::run
|
||||
(amap, static_cast<Refs&>(*this), it, dartmap[it],
|
||||
dartinfoconverter);
|
||||
}
|
||||
|
|
@ -289,7 +289,7 @@ namespace CGAL {
|
|||
CGAL::cpp11::tuple<> converters;
|
||||
Default_converter_dart_info<CMap2, Refs> dartinfoconverter;
|
||||
Default_converter_cmap_0attributes_with_point<CMap2, Refs> pointconverter;
|
||||
return copy(amap, converters, dartinfoconverter, pointconverter );
|
||||
return copy(amap, converters, dartinfoconverter, pointconverter);
|
||||
}
|
||||
|
||||
template <typename CMap2, typename Converters>
|
||||
|
|
@ -3571,7 +3571,8 @@ namespace CGAL {
|
|||
{
|
||||
dual[it] = amap.create_dart();
|
||||
internal::Copy_dart_info_functor<Refs, Refs>::
|
||||
run(amap, static_cast<Refs&>(*this), it, dual[it]);
|
||||
run(static_cast<Refs&>(amap), static_cast<Refs&>(*this),
|
||||
it, dual[it]);
|
||||
if ( it==adart && res==amap.null_handle ) res = dual[it];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ namespace CGAL {
|
|||
{
|
||||
dartmap[it]=mdarts.emplace();
|
||||
init_dart(dartmap[it], amap.get_marks(it));
|
||||
internal::Copy_dart_info_functor<GMap2, Refs>::
|
||||
internal::Copy_dart_info_functor<GMap2, Refs, DartInfoConverter>::
|
||||
run(amap, static_cast<Refs&>(*this), it, dartmap[it],
|
||||
dartinfoconverter);
|
||||
}
|
||||
|
|
@ -2744,7 +2744,8 @@ namespace CGAL {
|
|||
{
|
||||
dual[it] = amap.create_dart();
|
||||
internal::Copy_dart_info_functor<Refs, Refs>::
|
||||
run(amap, static_cast<Refs&>(*this), it, dual[it]);
|
||||
run(static_cast<Refs&>(amap), static_cast<Refs&>(*this),
|
||||
it, dual[it]);
|
||||
if ( it==adart && res==amap.null_handle ) res = dual[it];
|
||||
}
|
||||
|
||||
|
|
@ -3936,7 +3937,6 @@ namespace CGAL {
|
|||
// The path must have at least one dart.
|
||||
if (afirst==alast) return false;
|
||||
Dart_const_handle prec = null_handle;
|
||||
Dart_const_handle od = null_handle;
|
||||
|
||||
for (InputIterator it(afirst); it!=alast; ++it)
|
||||
{
|
||||
|
|
@ -3984,8 +3984,6 @@ namespace CGAL {
|
|||
|
||||
bool withAlpha3 = false;
|
||||
|
||||
size_type treated = get_new_mark();
|
||||
|
||||
{
|
||||
for (InputIterator it(afirst); !withAlpha3 && it!=alast; ++it)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue