]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Include a header file, rather than forward declaring a BOOST class. 18180/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 28 Feb 2025 15:35:08 +0000 (08:35 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 28 Feb 2025 22:46:22 +0000 (15:46 -0700)
include/deal.II/particles/particle.h
include/deal.II/particles/particle_accessor.h

index 29732b9cd859e29725b5362954a7027a6f7e31a3..348283c515fdcd50062d4562e92615b188afa9f6 100644 (file)
 
 #include <deal.II/particles/property_pool.h>
 
+#include <boost/geometry/index/indexable.hpp>
 #include <boost/serialization/array.hpp>
 
 #include <cstdint>
 
+
 DEAL_II_NAMESPACE_OPEN
 
 /**
@@ -691,10 +693,6 @@ namespace boost
   {
     namespace index
     {
-      // Forward declaration of bgi::indexable
-      template <class T>
-      struct indexable;
-
       /**
        * Make sure we can construct an RTree of Particles::Particle objects.
        */
index 4abfa5926bddfce94ae9931023124be612e57c6e..87d5980e78f5a7c6119be84aac36fefd8c7f4a6a 100644 (file)
@@ -25,6 +25,7 @@
 #include <deal.II/particles/particle.h>
 #include <deal.II/particles/property_pool.h>
 
+#include <boost/geometry/index/indexable.hpp>
 #include <boost/serialization/array_wrapper.hpp>
 
 #include <list>
@@ -958,10 +959,6 @@ namespace boost
   {
     namespace index
     {
-      // Forward declaration of bgi::indexable
-      template <class T>
-      struct indexable;
-
       /**
        * Make sure we can construct an RTree from Particles::ParticleAccessor
        * objects.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.