From e4b033e964fb072bb41aece9f66f145dc02e3aef Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 26 Jun 2014 19:10:06 +0200 Subject: [PATCH] Add/remove #include - I remove when I see it, in favor of . - is needed for CGAL::ipower - is needed for std::time --- .../include/CGAL/Arithmetic_kernel/Arithmetic_kernel_base.h | 2 ++ Arithmetic_kernel/include/CGAL/GMP_arithmetic_kernel.h | 3 ++- Arithmetic_kernel/include/CGAL/Get_arithmetic_kernel.h | 2 -- Linear_cell_complex/demo/Linear_cell_complex/MainWindow.cpp | 1 + .../demo/Periodic_Lloyd_3/MainWindow.cpp | 1 + 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Arithmetic_kernel/include/CGAL/Arithmetic_kernel/Arithmetic_kernel_base.h b/Arithmetic_kernel/include/CGAL/Arithmetic_kernel/Arithmetic_kernel_base.h index c6b956726ba..4e0fc0d1c39 100644 --- a/Arithmetic_kernel/include/CGAL/Arithmetic_kernel/Arithmetic_kernel_base.h +++ b/Arithmetic_kernel/include/CGAL/Arithmetic_kernel/Arithmetic_kernel_base.h @@ -27,6 +27,8 @@ #ifndef CGAL_ARITHMETIC_KERNEL_ARITHMETIC_KERNEL_BASE_H #define CGAL_ARITHMETIC_KERNEL_ARITHMETIC_KERNEL_BASE_H +#include + namespace CGAL { namespace internal{ diff --git a/Arithmetic_kernel/include/CGAL/GMP_arithmetic_kernel.h b/Arithmetic_kernel/include/CGAL/GMP_arithmetic_kernel.h index f7daf3a258b..9d81589b949 100644 --- a/Arithmetic_kernel/include/CGAL/GMP_arithmetic_kernel.h +++ b/Arithmetic_kernel/include/CGAL/GMP_arithmetic_kernel.h @@ -25,9 +25,10 @@ #ifndef CGAL_GMP_ARITHMETIC_KERNEL_H #define CGAL_GMP_ARITHMETIC_KERNEL_H +#include + #ifdef CGAL_USE_GMP -#include #include #include diff --git a/Arithmetic_kernel/include/CGAL/Get_arithmetic_kernel.h b/Arithmetic_kernel/include/CGAL/Get_arithmetic_kernel.h index 8fc4838f6a8..699c7514919 100644 --- a/Arithmetic_kernel/include/CGAL/Get_arithmetic_kernel.h +++ b/Arithmetic_kernel/include/CGAL/Get_arithmetic_kernel.h @@ -25,8 +25,6 @@ #ifndef CGAL_GET_ARITHMETIC_KERNEL_H #define CGAL_GET_ARITHMETIC_KERNEL_H -#include - namespace CGAL { template< class NT > struct Get_arithmetic_kernel{}; } //namespace CGAL diff --git a/Linear_cell_complex/demo/Linear_cell_complex/MainWindow.cpp b/Linear_cell_complex/demo/Linear_cell_complex/MainWindow.cpp index 5d906b17f2b..bf7289d94c1 100644 --- a/Linear_cell_complex/demo/Linear_cell_complex/MainWindow.cpp +++ b/Linear_cell_complex/demo/Linear_cell_complex/MainWindow.cpp @@ -23,6 +23,7 @@ #include #include "MainWindow.moc" #include +#include // Function defined in Linear_cell_complex_3_subivision.cpp void subdivide_lcc_3 (LCC & m); diff --git a/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/MainWindow.cpp b/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/MainWindow.cpp index 5ff00413d71..3cd1ad76ca5 100644 --- a/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/MainWindow.cpp +++ b/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/MainWindow.cpp @@ -1,5 +1,6 @@ #include "MainWindow.h" +#include MainWindow::MainWindow(QWidget* parent): CGAL::Qt::DemosMainWindow(parent) {