Silenced depreciation warnings from Weighted_point.h

This commit is contained in:
Mael Rouxel-Labbé 2017-05-10 08:58:05 +02:00
parent 266775bafa
commit 0cd98e6ff1
1 changed files with 6 additions and 5 deletions

View File

@ -24,11 +24,12 @@
#include <CGAL/license/Triangulation_2.h>
#define CGAL_DEPRECATED_HEADER "<CGAL/Weighted_point.h>"
#define CGAL_DEPRECATED_MESSAGE_DETAILS \
"Weighted points are now part of the concept Kernel. One should therefore "\
"use `CGAL::Weighted_point_2<K>` and `CGAL::Weighted_point_3<K>`."
#include <CGAL/internal/deprecation_warning.h>
// Below is silenced until Surface_mesher is cleaned from Weighted_point.h
// #define CGAL_DEPRECATED_HEADER "<CGAL/Weighted_point.h>"
// #define CGAL_DEPRECATED_MESSAGE_DETAILS \
// "Weighted points are now part of the concept Kernel. One should therefore "\
// "use `CGAL::Weighted_point_2<K>` and `CGAL::Weighted_point_3<K>`."
// #include <CGAL/internal/deprecation_warning.h>
#include <CGAL/Kernel_traits.h>
#include <CGAL/Dimension.h>