mirror of https://github.com/CGAL/cgal
fix for clang: assertions do not work on intrusive_ptr
This commit is contained in:
parent
9ed4f837c3
commit
e96dd75d15
|
|
@ -452,7 +452,7 @@ struct SS_converter : Converter
|
||||||
|
|
||||||
Target_trisegment_2_ptr cvt_single_trisegment( Source_trisegment_2_ptr const& tri ) const
|
Target_trisegment_2_ptr cvt_single_trisegment( Source_trisegment_2_ptr const& tri ) const
|
||||||
{
|
{
|
||||||
CGAL_precondition( tri ) ;
|
CGAL_precondition( tri!= Source_trisegment_2_ptr() ) ;
|
||||||
|
|
||||||
return Target_trisegment_2_ptr ( new Target_trisegment_2(cvt_s(tri->e0())
|
return Target_trisegment_2_ptr ( new Target_trisegment_2(cvt_s(tri->e0())
|
||||||
,cvt_s(tri->e1())
|
,cvt_s(tri->e1())
|
||||||
|
|
|
||||||
|
|
@ -355,7 +355,7 @@ private :
|
||||||
|
|
||||||
CGAL_STSKEL_BUILDER_TRACE(5,"Trisegment for " << aTriedge << ":" << r ) ;
|
CGAL_STSKEL_BUILDER_TRACE(5,"Trisegment for " << aTriedge << ":" << r ) ;
|
||||||
|
|
||||||
CGAL_postcondition_msg(r, "Unable to determine edges collinearity");
|
CGAL_postcondition_msg((r!= Trisegment_2_ptr()), "Unable to determine edges collinearity");
|
||||||
|
|
||||||
return r ;
|
return r ;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue