Do not use c++17 in 5.6.x

This commit is contained in:
Mael Rouxel-Labbé 2025-01-15 12:31:25 +01:00
parent 92e31b7859
commit 22dd382e26
1 changed files with 2 additions and 2 deletions

View File

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