mirror of https://github.com/CGAL/cgal
Don't use C++17 yet
This commit is contained in:
parent
46ab7efe83
commit
56a6053b94
|
|
@ -127,7 +127,7 @@ create_partial_exterior_weighted_straight_skeleton_2(const FT& aMaxOffset,
|
|||
typedef typename Kernel_traits<Point_2>::Kernel IK;
|
||||
typedef typename IK::FT IFT;
|
||||
|
||||
static_assert(std::is_same_v<typename std::iterator_traits<WeightIterator>::value_type, IFT>);
|
||||
static_assert((std::is_same<typename std::iterator_traits<WeightIterator>::value_type, IFT>::value));
|
||||
|
||||
boost::shared_ptr<Straight_skeleton_2<K> > rSkeleton;
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
namespace CGAL {
|
||||
|
|
@ -147,7 +148,7 @@ create_exterior_weighted_straight_skeleton_2(const FT& max_offset,
|
|||
using IK = typename Kernel_traits<Point_2>::Kernel;
|
||||
using IFT = typename IK::FT;
|
||||
|
||||
static_assert(std::is_same_v<typename std::iterator_traits<WeightIterator>::value_type, IFT>);
|
||||
static_assert((std::is_same<typename std::iterator_traits<WeightIterator>::value_type, IFT>::value));
|
||||
|
||||
boost::shared_ptr<Straight_skeleton_2<K> > skeleton;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue