From 59ec3c70b5c8ba10859752abf269e9d887016be8 Mon Sep 17 00:00:00 2001 From: heister Date: Tue, 19 Feb 2013 22:47:18 +0000 Subject: [PATCH] make a bunch of constructors 'explicit' git-svn-id: https://svn.dealii.org/trunk@28482 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/trilinos_block_vector.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deal.II/include/deal.II/lac/trilinos_block_vector.h b/deal.II/include/deal.II/lac/trilinos_block_vector.h index 2a6dd0f02b..a6b8a92cbe 100644 --- a/deal.II/include/deal.II/lac/trilinos_block_vector.h +++ b/deal.II/include/deal.II/lac/trilinos_block_vector.h @@ -105,7 +105,7 @@ namespace TrilinosWrappers * used, just the global size of the * partitioner. */ - BlockVector (const std::vector &partitioner); + explicit BlockVector (const std::vector &partitioner); /** * Constructor. Generate a block @@ -116,8 +116,8 @@ namespace TrilinosWrappers * used, just the global size of the * partitioner. */ - BlockVector (const std::vector &partitioner, - const MPI_Comm &communicator = MPI_COMM_WORLD); + explicit BlockVector (const std::vector &partitioner, + const MPI_Comm &communicator = MPI_COMM_WORLD); /** * Copy-Constructor. Set all the @@ -146,7 +146,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); /** * Constructor. Set the number of @@ -156,7 +156,7 @@ namespace TrilinosWrappers * * References BlockVector.reinit(). */ - BlockVector (const std::vector &N); + explicit BlockVector (const std::vector &N); /** * Constructor. Set the number of -- 2.39.5