From c636cd02416c3c7e6c9c6803394152d53e7b1337 Mon Sep 17 00:00:00 2001 From: Liangliang Nan Date: Tue, 5 Nov 2024 10:22:53 +0100 Subject: [PATCH] use CGAL_static_assertion --- code/method/alpha_shape_CGAL4.10_and_earlier.h | 4 ++-- code/method/alpha_shape_CGAL4.11_and_later.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/method/alpha_shape_CGAL4.10_and_earlier.h b/code/method/alpha_shape_CGAL4.10_and_earlier.h index 013571dc..3e61fda4 100644 --- a/code/method/alpha_shape_CGAL4.10_and_earlier.h +++ b/code/method/alpha_shape_CGAL4.10_and_earlier.h @@ -74,8 +74,8 @@ class Alpha_shape_2 : public Dt typedef typename internal::Alpha_nt_selector_2::Type_of_alpha Type_of_alpha; //check simplices are correctly instantiated - static_assert( (boost::is_same::value) ); - static_assert( (boost::is_same::value) ); + CGAL_static_assertion( (boost::is_same::value) ); + CGAL_static_assertion( (boost::is_same::value) ); typedef Type_of_alpha NT; typedef Type_of_alpha FT; diff --git a/code/method/alpha_shape_CGAL4.11_and_later.h b/code/method/alpha_shape_CGAL4.11_and_later.h index 550ae656..cb9f5726 100644 --- a/code/method/alpha_shape_CGAL4.11_and_later.h +++ b/code/method/alpha_shape_CGAL4.11_and_later.h @@ -80,8 +80,8 @@ class Alpha_shape_2 : public Dt typedef Type_of_alpha FT; //check simplices are correctly instantiated - static_assert( (boost::is_same::value) ); - static_assert( (boost::is_same::value) ); + CGAL_static_assertion( (boost::is_same::value) ); + CGAL_static_assertion( (boost::is_same::value) ); typedef typename Dt::Point Point;