]> https://gitweb.dealii.org/ - dealii.git/commitdiff
BoundingBox: make things work without an extra boost header. 18510/head
authorDavid Wells <drwells@email.unc.edu>
Tue, 27 May 2025 15:10:55 +0000 (11:10 -0400)
committerDavid Wells <drwells@email.unc.edu>
Tue, 27 May 2025 15:10:55 +0000 (11:10 -0400)
This is also about 5% faster.

include/deal.II/base/bounding_box.h

index ed83a1f169725cc48e747ea8027e6065a4ebd444..e5d95e47747774b276a1b439534294c951248294 100644 (file)
@@ -618,7 +618,10 @@ void
 BoundingBox<spacedim, Number>::serialize(Archive &ar,
                                          const unsigned int /*version*/)
 {
-  ar &boundary_points;
+  // Avoid including boost/serialization/utility.hpp by unpacking the pair
+  // ourselves
+  ar &boundary_points.first;
+  ar &boundary_points.second;
 }
 
 

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.