From d34f4fc1169e85f1980a0786d791544008681ad0 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 5 Mar 2016 23:41:30 -0500 Subject: [PATCH] Add headers for values returned by methods. Currently, one could include this header and then write something like dof_handler.begin_active()->set_active_fe_index(1) and this will fail to compile with obscure template errors because the DoFCellAccessor (the value returned by '->') is only forward declared without this extra header. --- include/deal.II/dofs/dof_handler.h | 1 + include/deal.II/hp/dof_handler.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/deal.II/dofs/dof_handler.h b/include/deal.II/dofs/dof_handler.h index c205f316a0..a5c3eebd2a 100644 --- a/include/deal.II/dofs/dof_handler.h +++ b/include/deal.II/dofs/dof_handler.h @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/include/deal.II/hp/dof_handler.h b/include/deal.II/hp/dof_handler.h index 66847b6595..a3508bc369 100644 --- a/include/deal.II/hp/dof_handler.h +++ b/include/deal.II/hp/dof_handler.h @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include -- 2.39.5