]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make the constructor explicit
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 23 Nov 2022 16:56:03 +0000 (11:56 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 23 Nov 2022 16:56:03 +0000 (11:56 -0500)
include/deal.II/lac/petsc_precondition.h

index 16df0d8039f66d777e2cb13f35b5f79a6b1b30e3..010d2fc750b6b8ec939904159987ed6c9c32040a 100644 (file)
@@ -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.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.