From: Wolfgang Bangerth Date: Fri, 22 Sep 2023 22:01:18 +0000 (-0600) Subject: Provide a message with the deprecation. X-Git-Tag: relicensing~468^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16035%2Fhead;p=dealii.git Provide a message with the deprecation. --- diff --git a/include/deal.II/lac/affine_constraints.h b/include/deal.II/lac/affine_constraints.h index 04d24c5a47..c46dda29b7 100644 --- a/include/deal.II/lac/affine_constraints.h +++ b/include/deal.II/lac/affine_constraints.h @@ -587,7 +587,8 @@ public: * both of its arguments equal to the index set provided here. This * is not wrong, but inefficient. Use the following constructor instead. */ - DEAL_II_DEPRECATED_EARLY + DEAL_II_DEPRECATED_EARLY_WITH_COMMENT( + "Use the constructor with two index set arguments.") explicit AffineConstraints(const IndexSet &locally_stored_constraints); /** @@ -683,7 +684,8 @@ public: * * @deprecated Use the reinit() function with two index set arguments instead. */ - DEAL_II_DEPRECATED_EARLY + DEAL_II_DEPRECATED_EARLY_WITH_COMMENT( + "Use the reinit() function with two index set arguments.") void reinit(const IndexSet &locally_stored_constraints);