From: Daniel Arndt Date: Wed, 23 Nov 2022 16:42:39 +0000 (-0500) Subject: Revert "Re-introduce (now deprecated) old constructor." X-Git-Tag: v9.5.0-rc1~790^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=021e1e3c9b982d7040cef11aee8067bc2206b52c;p=dealii.git Revert "Re-introduce (now deprecated) old constructor." This reverts commit cf6c92320bd89c105618d56e3a0f6c8fbbe782f4. --- 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