Define macro to use old cmap api and to remove deprecated warning in .cpp instead of in .h

This commit is contained in:
Guillaume Damiand 2016-10-31 14:04:55 -04:00
parent 62a732cad0
commit 083fe3eac6
4 changed files with 9 additions and 4 deletions

View File

@ -21,9 +21,6 @@
#ifndef CGAL_INTERNAL_COMBINATORIAL_MAP_FOR_COREFINEMENT_H
#define CGAL_INTERNAL_COMBINATORIAL_MAP_FOR_COREFINEMENT_H
#define CGAL_CMAP_DART_DEPRECATED 1
#define CGAL_NO_DEPRECATION_WARNINGS 1
#include <CGAL/Combinatorial_map.h>
#include <CGAL/Combinatorial_map_constructors.h>
#include <CGAL/Cell_attribute.h>
@ -113,5 +110,4 @@ public:
} } //namespace CGAL::internal_IOP
#undef CGAL_NO_DEPRECATION_WARNINGS
#endif //CGAL_INTERNAL_COMBINATORIAL_MAP_FOR_COREFINEMENT_H

View File

@ -1,3 +1,6 @@
#define CGAL_NO_DEPRECATION_WARNINGS 1
#define CGAL_CMAP_DART_DEPRECATED 1
#include "Messages_interface.h"
#include <QApplication>
#include <QMainWindow>

View File

@ -1,3 +1,6 @@
#define CGAL_NO_DEPRECATION_WARNINGS 1
#define CGAL_CMAP_DART_DEPRECATED 1
#define CGAL_COREFINEMENT_DO_REPORT_SELF_INTERSECTIONS
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/corefinement_operations.h>

View File

@ -1,3 +1,6 @@
#define CGAL_NO_DEPRECATION_WARNINGS 1
#define CGAL_CMAP_DART_DEPRECATED 1
#include "Scene_combinatorial_map_item.h"
#include "Scene_polyhedron_item.h"
#include <CGAL/Three/Scene_interface.h>