From 6e85a8189811e5e63655eaba58e1e581b82169c0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 28 Feb 2025 08:35:08 -0700 Subject: [PATCH] Include a header file, rather than forward declaring a BOOST class. --- include/deal.II/particles/particle.h | 6 ++---- include/deal.II/particles/particle_accessor.h | 5 +---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/include/deal.II/particles/particle.h b/include/deal.II/particles/particle.h index 29732b9cd8..348283c515 100644 --- a/include/deal.II/particles/particle.h +++ b/include/deal.II/particles/particle.h @@ -23,10 +23,12 @@ #include +#include #include #include + DEAL_II_NAMESPACE_OPEN /** @@ -691,10 +693,6 @@ namespace boost { namespace index { - // Forward declaration of bgi::indexable - template - struct indexable; - /** * Make sure we can construct an RTree of Particles::Particle objects. */ diff --git a/include/deal.II/particles/particle_accessor.h b/include/deal.II/particles/particle_accessor.h index 4abfa5926b..87d5980e78 100644 --- a/include/deal.II/particles/particle_accessor.h +++ b/include/deal.II/particles/particle_accessor.h @@ -25,6 +25,7 @@ #include #include +#include #include #include @@ -958,10 +959,6 @@ namespace boost { namespace index { - // Forward declaration of bgi::indexable - template - struct indexable; - /** * Make sure we can construct an RTree from Particles::ParticleAccessor * objects. -- 2.39.5