]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Provide a message with the deprecation. 16035/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 22 Sep 2023 22:01:18 +0000 (16:01 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 25 Sep 2023 23:06:47 +0000 (17:06 -0600)
include/deal.II/lac/affine_constraints.h

index 04d24c5a473a381b026260fb5cca3284519f9d5e..c46dda29b7d52b428c21fa75afe9c7db776fc378 100644 (file)
@@ -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);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.