From 1305a093afc758a699966e1b247221ed207912ba Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 22 Sep 2023 16:01:18 -0600 Subject: [PATCH] Provide a message with the deprecation. --- include/deal.II/lac/affine_constraints.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); -- 2.39.5