Linear_cell_complex_demo: Reorder includes to work around a bug in boost

Reordering includes of CGAL headers changes the inclusion order
for boost headers.  The test file  flat.cpp should reveal the bug
This commit is contained in:
Andreas Fabri 2017-01-13 10:57:21 +01:00
parent ac18291803
commit 3f5a0bd27a
2 changed files with 17 additions and 4 deletions

View File

@ -20,11 +20,7 @@
#ifndef TYPEDEFS_H
#define TYPEDEFS_H
#include <CGAL/Linear_cell_complex.h>
#include <CGAL/Linear_cell_complex_constructors.h>
#include <CGAL/Linear_cell_complex_operations.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Combinatorial_map_save_load.h>
#include <CGAL/Triangulation_2_projection_traits_3.h>
#include <CGAL/Triangulation_vertex_base_with_info_2.h>
@ -32,6 +28,11 @@
#include <CGAL/Constrained_Delaunay_triangulation_2.h>
#include <CGAL/Constrained_triangulation_plus_2.h>
#include <CGAL/Linear_cell_complex.h>
#include <CGAL/Linear_cell_complex_constructors.h>
#include <CGAL/Linear_cell_complex_operations.h>
#include <CGAL/Combinatorial_map_save_load.h>
#include <CGAL/IO/Color.h>
#include <CGAL/Timer.h>
#include <CGAL/Random.h>

View File

@ -0,0 +1,12 @@
#include <boost/property_tree/xml_parser.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/container/flat_set.hpp>
int main()
{
boost::container::flat_set<int> fs;
return 0;
}