From 2ac628e916a8e0f0877da6b454bc910d2f3a4ea9 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 16 Jun 2023 12:46:47 -0400 Subject: [PATCH] Fix doxygen for PETScWrappers::TimeStepper using DEAL_II_CXX20_REQUIRES --- include/deal.II/lac/petsc_ts.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/deal.II/lac/petsc_ts.h b/include/deal.II/lac/petsc_ts.h index fad1444456..ea745c28f5 100644 --- a/include/deal.II/lac/petsc_ts.h +++ b/include/deal.II/lac/petsc_ts.h @@ -304,7 +304,9 @@ namespace PETScWrappers template - DEAL_II_CXX20_REQUIRES( +# if defined(DEAL_II_HAVE_CXX20) && \ + !defined(DEAL_II_DOXYGEN_DO_NOT_PARSE_REQUIRES_CLAUSES) + requires( (concepts::is_dealii_petsc_vector_type || std::constructible_from< VectorType, @@ -313,7 +315,8 @@ namespace PETScWrappers PMatrixType, Mat>)&&(concepts::is_dealii_petsc_matrix_type || std::constructible_from)) - class TimeStepper +# endif + class TimeStepper { public: /** -- 2.39.5