From: Daniel Arndt Date: Wed, 23 Nov 2022 16:56:03 +0000 (-0500) Subject: Make the constructor explicit X-Git-Tag: v9.5.0-rc1~790^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf864c8d23da5c56ddda386ad8ec97e7d3c3876;p=dealii.git Make the constructor explicit --- diff --git a/include/deal.II/lac/petsc_precondition.h b/include/deal.II/lac/petsc_precondition.h index 16df0d8039..010d2fc750 100644 --- a/include/deal.II/lac/petsc_precondition.h +++ b/include/deal.II/lac/petsc_precondition.h @@ -62,7 +62,7 @@ namespace PETScWrappers /** * Constructor. */ - PreconditionBase(const MPI_Comm &mpi_communicator = MPI_COMM_NULL); + explicit PreconditionBase(const MPI_Comm &mpi_communicator = MPI_COMM_NULL); /** * Destructor.