From: Daniel Arndt Date: Fri, 16 Jun 2023 16:46:47 +0000 (-0400) Subject: Fix doxygen for PETScWrappers::TimeStepper using DEAL_II_CXX20_REQUIRES X-Git-Tag: v9.5.0-rc1~95^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15373%2Fhead;p=dealii.git Fix doxygen for PETScWrappers::TimeStepper using DEAL_II_CXX20_REQUIRES --- 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: /**