From dd9e6340fe9ecffc67aeb2a69d41cfaccc2bd035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Tue, 1 Oct 2019 13:39:21 +0200 Subject: [PATCH] Silence some warnings --- .../include/CGAL/_test_cls_constrained_triangulation_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Triangulation_2/test/Triangulation_2/include/CGAL/_test_cls_constrained_triangulation_2.h b/Triangulation_2/test/Triangulation_2/include/CGAL/_test_cls_constrained_triangulation_2.h index d7419f80846..455ff4828b8 100644 --- a/Triangulation_2/test/Triangulation_2/include/CGAL/_test_cls_constrained_triangulation_2.h +++ b/Triangulation_2/test/Triangulation_2/include/CGAL/_test_cls_constrained_triangulation_2.h @@ -61,7 +61,7 @@ _test_cdt_throwing(const Pt& p0, const Pt& p1, const Pt& p2, const Pt& p3, { assert(intersection_type == INTERSECTION); assert((boost::is_same::value) || -#ifndef CGAL_NO_DEPRECATED_CODE +#if !defined(CGAL_NO_DEPRECATED_CODE) && defined(CGAL_NO_DEPRECATION_WARNINGS) (boost::is_same::value) || #endif (boost::is_same::value)); @@ -78,7 +78,7 @@ _test_cdt_throwing(const Pt& p0, const Pt& p1, const Pt& p2, const Pt& p3, else if(intersection_type == INTERSECTION) { assert(!(boost::is_same::value) && -#ifndef CGAL_NO_DEPRECATED_CODE +#if !defined(CGAL_NO_DEPRECATED_CODE) && defined(CGAL_NO_DEPRECATION_WARNINGS) !(boost::is_same::value) && #endif !(boost::is_same::value));