From 021e1e3c9b982d7040cef11aee8067bc2206b52c Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 23 Nov 2022 11:42:39 -0500 Subject: [PATCH] Revert "Re-introduce (now deprecated) old constructor." This reverts commit cf6c92320bd89c105618d56e3a0f6c8fbbe782f4. --- include/deal.II/lac/petsc_precondition.h | 10 +--------- source/lac/petsc_precondition.cc | 6 ------ 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/include/deal.II/lac/petsc_precondition.h b/include/deal.II/lac/petsc_precondition.h index 8b96a859fc..16df0d8039 100644 --- a/include/deal.II/lac/petsc_precondition.h +++ b/include/deal.II/lac/petsc_precondition.h @@ -62,15 +62,7 @@ namespace PETScWrappers /** * Constructor. */ - explicit PreconditionBase(const MPI_Comm &mpi_communicator); - - /** - * Constructor. This constructor is deprecated. - * - * @deprecated - */ - DEAL_II_DEPRECATED - PreconditionBase(); + PreconditionBase(const MPI_Comm &mpi_communicator = MPI_COMM_NULL); /** * Destructor. diff --git a/source/lac/petsc_precondition.cc b/source/lac/petsc_precondition.cc index 2124f58a0b..6f145d31de 100644 --- a/source/lac/petsc_precondition.cc +++ b/source/lac/petsc_precondition.cc @@ -41,12 +41,6 @@ namespace PETScWrappers - PreconditionBase::PreconditionBase() - : PreconditionBase(MPI_COMM_NULL) - {} - - - PreconditionBase::~PreconditionBase() { try -- 2.39.5