From 97c30f28cc490328b2b1f4422fbcf37360341080 Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 27 May 2025 11:10:55 -0400 Subject: [PATCH] BoundingBox: make things work without an extra boost header. This is also about 5% faster. --- include/deal.II/base/bounding_box.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/deal.II/base/bounding_box.h b/include/deal.II/base/bounding_box.h index ed83a1f169..e5d95e4774 100644 --- a/include/deal.II/base/bounding_box.h +++ b/include/deal.II/base/bounding_box.h @@ -618,7 +618,10 @@ void BoundingBox::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; } -- 2.39.5