From 9524fe837b26542b8ee4437433b6da21470350cd Mon Sep 17 00:00:00 2001 From: heister Date: Tue, 19 Feb 2013 22:44:35 +0000 Subject: [PATCH] make a bunch of constructors 'explicit' git-svn-id: https://svn.dealii.org/trunk@28481 0785d39b-7218-0410-832d-ea1e28bc413d --- .../include/deal.II/lac/trilinos_parallel_block_vector.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5