From: David Wells Date: Sun, 6 Mar 2016 04:41:30 +0000 (-0500) Subject: Add headers for values returned by methods. X-Git-Tag: v8.5.0-rc1~1229^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d34f4fc1169e85f1980a0786d791544008681ad0;p=dealii.git 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. --- 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