From 05752ce9ba5cc6980bed90854478971c92c62a79 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 21 Jul 2022 10:38:43 -0400 Subject: [PATCH] Make ConsensusAlgorithm deprecations early deprecated instead. They should have always been early-deprecated. This is worth doing now (for 9.4.1) because these deprecation warnings show up when we include some headers (like mpi_noncontiguous_partitioner.h). --- .../deal.II/base/mpi_consensus_algorithms.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/deal.II/base/mpi_consensus_algorithms.h b/include/deal.II/base/mpi_consensus_algorithms.h index ce6c84a42b..44c0952c9a 100644 --- a/include/deal.II/base/mpi_consensus_algorithms.h +++ b/include/deal.II/base/mpi_consensus_algorithms.h @@ -250,7 +250,7 @@ namespace Utilities * the default constructor of this class along with the run() * function that takes an argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY Interface(Process &process, const MPI_Comm & comm); @@ -269,7 +269,7 @@ namespace Utilities * been provided to the non-default constructor. Use the run() * functions taking arguments instead. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY std::vector run(); @@ -325,7 +325,7 @@ namespace Utilities * and the run() function without argument. It is a `nullptr` * otherwise */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY Process *process; /** @@ -334,7 +334,7 @@ namespace Utilities * This member variable is only used in the deprecated constructor * and the run() function without argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY MPI_Comm comm; }; @@ -373,7 +373,7 @@ namespace Utilities * the default constructor of this class along with the run() * function that takes an argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY NBX(Process &process, const MPI_Comm &comm); /** @@ -617,7 +617,7 @@ namespace Utilities * the default constructor of this class along with the run() * function that takes an argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY PEX(Process &process, const MPI_Comm &comm); /** @@ -830,7 +830,7 @@ namespace Utilities * the default constructor of this class along with the run() * function that takes an argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY Serial(Process &process, const MPI_Comm &comm); // Import the declarations from the base class. @@ -962,7 +962,7 @@ namespace Utilities * the default constructor of this class along with the run() * function that takes an argument. */ - DEAL_II_DEPRECATED + DEAL_II_DEPRECATED_EARLY Selector(Process &process, const MPI_Comm & comm); @@ -1083,7 +1083,7 @@ namespace Utilities * own implementation but can register lambda functions directly. */ template - class DEAL_II_DEPRECATED AnonymousProcess + class DEAL_II_DEPRECATED_EARLY AnonymousProcess : public Process { public: -- 2.39.5