From: Wolfgang Bangerth Date: Thu, 27 Feb 2025 16:08:46 +0000 (-0700) Subject: Work around an issue with non-exportable names. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04ec96bc68fc14128d02886e2f02dc7cdfb8e457;p=dealii.git Work around an issue with non-exportable names. --- diff --git a/include/deal.II/boost_adaptors/bounding_box.h b/include/deal.II/boost_adaptors/bounding_box.h index 055cc8b045..0f88ba8298 100644 --- a/include/deal.II/boost_adaptors/bounding_box.h +++ b/include/deal.II/boost_adaptors/bounding_box.h @@ -59,7 +59,18 @@ namespace boost * dealii::BoundingBox. */ template - struct indexed_access, min_corner, D> + struct indexed_access, +#if DEAL_II_BOOST_VERSION_GTE(1, 89, 0) + min_corner, +#else + // Until Boost 1.88, max_corner was a + // static variable in a header file, which + // we can't export in the module wrapper + // for Boost. Use the variable's numeric + // value instead. + /*min_corner*/ 0, +#endif + D> { /** * Getter function for the D-th coordinate of the lower left corner of @@ -87,7 +98,18 @@ namespace boost * dealii::BoundingBox. */ template - struct indexed_access, max_corner, D> + struct indexed_access, +#if DEAL_II_BOOST_VERSION_GTE(1, 89, 0) + max_corner, +#else + // Until Boost 1.88, max_corner was a + // static variable in a header file, which + // we can't export in the module wrapper + // for Boost. Use the variable's numeric + // value instead. + /*max_corner*/ 1, +#endif + D> { /** * Getter function for the D-th coordinate of the upper right corner of