From 6bf864c8d23da5c56ddda386ad8ec97e7d3c3876 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 23 Nov 2022 11:56:03 -0500 Subject: [PATCH] Make the constructor explicit --- include/deal.II/lac/petsc_precondition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5