]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
make a bunch of constructors 'explicit'
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Feb 2013 22:44:35 +0000 (22:44 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Feb 2013 22:44:35 +0000 (22:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@28481 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/trilinos_parallel_block_vector.h

index df5bb65a798bb82b545fae0e1d52996bae948cf9..7d7309d29d8e59d6ca25b5fecf5d8264254d2360 100644 (file)
@@ -107,7 +107,7 @@ namespace TrilinosWrappers
        * distribution of data among the MPI
        * processes.
        */
-      BlockVector (const std::vector<Epetra_Map> &parallel_partitioning);
+      explicit BlockVector (const std::vector<Epetra_Map> &parallel_partitioning);
 
       /**
        * Constructor. Generate a block
@@ -119,7 +119,7 @@ namespace TrilinosWrappers
        * distribution of data among the MPI
        * processes.
        */
-      BlockVector (const std::vector<IndexSet> &parallel_partitioning,
+      explicit BlockVector (const std::vector<IndexSet> &parallel_partitioning,
                    const MPI_Comm              &communicator = MPI_COMM_WORLD);
 
       /**
@@ -140,7 +140,7 @@ namespace TrilinosWrappers
        * fill appropriate data using a
        * reinit of the blocks.
        */
-      BlockVector (const unsigned int num_blocks);
+      explicit BlockVector (const unsigned int num_blocks);
 
       /**
        * Destructor. Clears memory

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.