Skip to content

Commit

Permalink
Do not use c++17 in 5.6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
MaelRL committed Jan 15, 2025
1 parent 92e31b7 commit 22dd382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Straight_skeleton_2/include/CGAL/create_offset_polygons_2.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ template<class OutPolygon, class FT, class Skeleton, class K>
std::vector< boost::shared_ptr<OutPolygon> >
create_offset_polygons_2 ( FT const& aOffset, Skeleton const& aSs, K const& , Tag_false )
{
static_assert(!std::is_same_v<OutPolygon, CGAL::Default>);
static_assert(!(std::is_same<OutPolygon, CGAL::Default>::value));

typedef boost::shared_ptr<OutPolygon> OutPolygonPtr ;
typedef std::vector<OutPolygonPtr> OutPolygonPtrVector ;
Expand All @@ -167,7 +167,7 @@ template<class OutPolygon, class FT, class Skeleton, class K>
std::vector< boost::shared_ptr<OutPolygon> >
create_offset_polygons_2 ( FT const& aOffset, Skeleton const& aSs, K const& /*k*/, Tag_true )
{
static_assert(!std::is_same_v<OutPolygon, CGAL::Default>);
static_assert(!(std::is_same<OutPolygon, CGAL::Default>::value));

typedef boost::shared_ptr<OutPolygon> OutPolygonPtr ;
typedef std::vector<OutPolygonPtr> OutPolygonPtrVector ;
Expand Down

0 comments on commit 22dd382

Please sign in to comment.