From: Timo Heister Date: Tue, 19 Feb 2013 22:44:35 +0000 (+0000) Subject: make a bunch of constructors 'explicit' X-Git-Tag: v8.0.0~1220 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4606a7f1151c04d2f3daa8bd7892342c368c234;p=dealii.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