From 1846331b4aea44257508ef27728e8381b1de2026 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 29 Jan 2024 12:28:38 -0700 Subject: [PATCH] Mark arguments as used. --- include/deal.II/cgal/utilities.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/deal.II/cgal/utilities.h b/include/deal.II/cgal/utilities.h index 08524f7578..08928415be 100644 --- a/include/deal.II/cgal/utilities.h +++ b/include/deal.II/cgal/utilities.h @@ -610,6 +610,11 @@ namespace CGALWrappers resort_dealii_vertices_to_cgal_order(const unsigned int structdim, std::vector> &vertices) { + // Mark the two arguments as "used" because some compilers complain about + // arguments used only within an 'if constexpr' block. + (void)structdim; + (void)vertices; + if constexpr (spacedim == 2) if (ReferenceCell::n_vertices_to_type(structdim, vertices.size()) == ReferenceCells::Quadrilateral) -- 2.39.5