From: heister Date: Tue, 19 Feb 2013 22:44:35 +0000 (+0000) Subject: make a bunch of constructors 'explicit' X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9524fe837b26542b8ee4437433b6da21470350cd;p=dealii-svn.git make a bunch of constructors 'explicit' git-svn-id: https://svn.dealii.org/trunk@28481 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/trilinos_parallel_block_vector.h b/deal.II/include/deal.II/lac/trilinos_parallel_block_vector.h index df5bb65a79..7d7309d29d 100644 --- a/deal.II/include/deal.II/lac/trilinos_parallel_block_vector.h +++ b/deal.II/include/deal.II/lac/trilinos_parallel_block_vector.h @@ -107,7 +107,7 @@ namespace TrilinosWrappers * distribution of data among the MPI * processes. */ - BlockVector (const std::vector ¶llel_partitioning); + explicit BlockVector (const std::vector ¶llel_partitioning); /** * Constructor. Generate a block @@ -119,7 +119,7 @@ namespace TrilinosWrappers * distribution of data among the MPI * processes. */ - BlockVector (const std::vector ¶llel_partitioning, + explicit BlockVector (const std::vector ¶llel_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